You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be some strange behavior happening with spawning a non-networked game object and parenting it to a game object that is networked.
I've ran into this issue in the past where I wanted to spawn a UI panel only visible to the player who "owns" the game object, and when I parented that "client-side only" game object to the "network object" game object it would crash S&Box completely.
In this case I am spawning a (not networked) prefab which is a short particle effect, and I would like to parent it in relation to another (networked) game object. When I do this, the particle effect does nothing. If I don't parent it, then the particle effect works.
I have verified it's spawning the effect in the correct location. What's also strange is if I network spawn the prefab and then parent it, the same behavior happens.
To Reproduce
sbox-dev_WUDHUN6KHM.mp4
I don't have an isolated project for this, here is a video walking through how I see the behavior. I can create a project on request to isolate this if needed.
General steps:
Create a prefab which contains a particle effect
Create a "network object" game object
Through some code spawn the prefab (do not network the instance) and attach it to the networked game object
Expected behavior
The particle effect should play
Media/Files
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
There seems to be some strange behavior happening with spawning a non-networked game object and parenting it to a game object that is networked.
I've ran into this issue in the past where I wanted to spawn a UI panel only visible to the player who "owns" the game object, and when I parented that "client-side only" game object to the "network object" game object it would crash S&Box completely.
In this case I am spawning a (not networked) prefab which is a short particle effect, and I would like to parent it in relation to another (networked) game object. When I do this, the particle effect does nothing. If I don't parent it, then the particle effect works.
I have verified it's spawning the effect in the correct location. What's also strange is if I network spawn the prefab and then parent it, the same behavior happens.
To Reproduce
sbox-dev_WUDHUN6KHM.mp4
I don't have an isolated project for this, here is a video walking through how I see the behavior. I can create a project on request to isolate this if needed.
General steps:
Expected behavior
The particle effect should play
Media/Files
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: