Modifying a ScriptableObject at runtime changes its asset file. Avoid unintended data changes by cloning it with Instantiate() before using it for runtime data. #Unity #UnityTips #gamedev
I require the solace of the shadows.
Subscribe to get my latest posts delivered to your inbox.
Modifying a ScriptableObject at runtime changes its asset file. Avoid unintended data changes by cloning it with Instantiate() before using it for runtime data. #Unity #UnityTips #gamedev
Unity's ScriptableObjects live outside the scene and stay in memory only when needed. Ideal for large datasets like inventory items or dialogue trees. #UnityTips #optimization