-
-
Notifications
You must be signed in to change notification settings - Fork 103
Closed
Labels
Description
Considering my project has Domain Reload disabled, for faster Play Mode iteration:
With the current version, if I add some CSG shapes in the scene, save the scene, enter Play Mode, then exit Play Mode.
After returning to the Unity Editor, the CSG shapes vanish from the scene.
After adding the [RuntimeInitializeOnLoadMethod] attribute above the Clear() method from InternalCSGModelManager.Lifetime.cs, the issue is fixed.
#region Clear
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.SubsystemRegistration)]
public static void Clear()