Facepunch / sbox-issues

177 stars 12 forks source link

Error when deserializing Prefab #5635

Closed timmybo5 closed 5 months ago

timmybo5 commented 5 months ago

Describe the bug

Due to a new update today, converting prefab to gameobject none of my inspector assigned prefabs work and they are NULL even though they are assigned in the editor.

Strang thing is that the uploaded gamemode still works but when I open it up in the editor its botched.

image

Before Play:

image

After Play:

image image

garrynewman commented 5 months ago

Can you try to explain a bit better please

timmybo5 commented 5 months ago

Ill make a recording, one sec

timmybo5 commented 5 months ago

All code can be found here: https://github.com/timmybo5/simple-weapon-base/blob/master/code/DemoNetworkManager.cs

https://github.com/Facepunch/sbox-issues/assets/4988198/f29b9672-5fb0-41f9-b7d8-9d0a9054ddbd