I updated to Unity 5.3 and since that I'm receiving the following warning for all the ScriptableObject.DontDestroyOnLoad(instance) calls where the instance parameter is a ScriptableObject created simply by ScriptableObject.CreateInstance();
Warning: DontDestroyOnLoad only work for root GameObjects or components on root GameObjects.
Is there any easy solution for it? Or should I modify all such ScriptableObjects to MonoBehaviours and assign them to a root GameObject?
↧