I'm having trouble updating from 3.13 to 3.15. The ORK Game Starter is giving me a StackOverflowException, and UnityUIHelper.CreateHUD is causing a MissingReferenceException. Any ideas on how to fix these problems?
Try deleting the Library folder from your Unity project's folder (while the project is closed). That'll cause a recreation of the database and reimports all assets - no data will be lost, though.
If the error is still happening, please post that error from the Unity console.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Thank you. So, I gave it a shot, and it fixed one of the issues, but now I'm encountering a different problem. When I first open the project and press play, it works fine. However, upon hitting play again, I get an error related to the _Makinom gameobject. The error message states that it cannot access the Canvas as it has been destroyed. Additionally, I'm still experiencing a StackOverflowException from the ORK Game Starter.
MissingReferenceException: The object of type 'Canvas' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. GamingIsLove.Makinom.UI.UnityUIHelper.CreateHUD (GamingIsLove.Makinom.HUDSetting settings, UnityEngine.GameObject prefab, GamingIsLove.Makinom.UILayerAsset layerAsset) (at <75be63ef657b4d40abf452d6950f5f85>:0) GamingIsLove.Makinom.UI.UnityUIInteractionHUDSettings.CreateHUD (GamingIsLove.Makinom.HUDSetting settings) (at <75be63ef657b4d40abf452d6950f5f85>:0) GamingIsLove.Makinom.UI.InteractionHUDSetting.CreateHUD (GamingIsLove.Makinom.HUDSetting settings) (at :0)
I think this is related to a known issue where having the ORK/Makinom editor open during play mode changes and using domain reload in Unity causes issues. This'll be fixed in the next update.
For now, this should be gone if you disable using domain reload in Unity, which also makes playing a lot faster :) Go to Edit > Project Settings... > Editor in the Unity menu and scroll down to the Enter Play Mode Settings. Enable Enter Play Mode Options and disable Reload Domain and Reload Scene.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If the error is still happening, please post that error from the Unity console.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
For now, this should be gone if you disable using domain reload in Unity, which also makes playing a lot faster :)
Go to Edit > Project Settings... > Editor in the Unity menu and scroll down to the Enter Play Mode Settings.
Enable Enter Play Mode Options and disable Reload Domain and Reload Scene.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!