[SendRPC] Teleport To targetLocation does not persist in component if the targetLocation object is not currently active
closed
TheTrueLycon
If object set as targetLocation in SendRPC TeleportTo component is not currently active, the change in the component is not saved. The field is blank after deselecting and selecting object with VRC_Trigger again.
- Create a scene and add Object Sync component to any object
- Create any object and addd VRC_Trigger, set SendRPC action - TeleportTo
- Create any empty and make it inactive in Unity
- Drag and drop inactive empty into targetLocation field in VRC_Trigger component
- Select any object in scene, but the one with VRC_Trigger
- Select the object with VRC_Trigger again and inspect tragetLocation window - notice that changes to tragetLocation are not saved
Expected Result: Changes are saved whether or not the objects in scene are set as active
Repro Rate: 100%
Log In
Tupper - VRChat Head of Community
closed
Closing due to age, please make a new post if it is still relevant.
Fionna
Adding to this: reorganizing the teleport target (while active) in the hierarchy causes the TeleportTo to vacate the field. For example, moving it to be a child of another object.