RadicalCSG / Chisel.Prototype

Work in progress prototype for the Chisel Level Editor, for Unity
MIT License
466 stars 34 forks source link

Ensure Chisel works with "enter playmode without domain reload" #294

Open LogicalError opened 3 years ago

LogicalError commented 3 years ago

Playmode can be configured to happen without domain reload. https://docs.unity3d.com/2020.2/Documentation/Manual/ConfigurableEnterPlayMode.html?_ga=2.163550143.2072409464.1602486995-1599613611.1548086235

The domain reload unloads all dlls and reloads them again, essentially resetting everything. It is also very slow. Attributes exist to help with cleaning things up after entering/exiting playmode, and Chisel should take advantage of those to make Chisel work with these different playmodes