Closed yuberee closed 8 months ago
I suspect the EditorTypeLibrary isn't populated with your custom component, could you try creating an editor folder and putting a dummy class in it.
I have a test component and a test class
Inside of the Editor folder, but I noticed that when I save any of them the game compiles, even when it should throw an error up. Not sure if related.
Oddly enough I had no problem yesterday, but today I open the project to find that the prefab is missing the component and I encounter the issue again.
I pushed the changes with the test class and component on the repo.
Closing this one in favour of #4273
Describe the bug
Getting this error:
When I try to save a prefab containing a custom component. The component itself is pretty shrimple, it's just a few lines long. Manually saving does nothing, as soon as I close and reopen the prefab the changes are not there at all.
To Reproduce
Expected behavior
Correctly save
Media/Files
https://github.com/sboxgame/issues/assets/59583743/713cb313-ae6d-49a9-9574-ea88271aeee5
Additional context
No response