Open Galaxy-YT opened 12 months ago
+1 on this issue. I've been encountering the same problem and from the modlog.txt file, its caused by a NullReferenceException from NightmareSpark. I've uploaded my latest modlog.txt and the ERROR from unity starts on line 1449. Excerpt below:
[ERROR]:[UNITY] - NullReferenceException: Object reference not set to an instance of an object [ERROR]:[UNITY] - Nightmare_Spark.GrimmkinWarp.SceneChange (UnityEngine.SceneManagement.Scene From, UnityEngine.SceneManagement.Scene To) (at C:/Users/RCRobot/source/repos/Nightmare Spark/Abilities/GrimmkinWarp.cs:27) [ERROR]:[UNITY] - UnityEngine.SceneManagement.SceneManager.Internal_ActiveSceneChanged (UnityEngine.SceneManagement.Scene previousActiveScene, UnityEngine.SceneManagement.Scene newActiveScene) (at <35b224772daa4cba956873121b4dad91>:0) [ERROR]:[UNITY] - [ERROR]:[UNITY] - NullReferenceException: Object reference not set to an instance of an object [ERROR]:[UNITY] - (wrapper dynamic-method) GameCameras.DMD<GameCameras::Start>(GameCameras) [ERROR]:[UNITY] - (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<GameCameras::Start>?445507584(GameCameras) [ERROR]:[UNITY] - SFCore.CharmHelper.GameCamerasStart_single (System.Action
1[T] orig, GameCameras self) (at source/CharmHelper.cs:578)
[ERROR]:[UNITY] - (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook
After this point, its entirely just copies of "[ERROR]:[UNITY] - NullReferenceException: Object reference not set to an instance of an object [ERROR]:[UNITY] - CameraController.LateUpdate () (at <27aea161da864a4da328cfdc06743c5b>:0)" for the rest of the file, happening around 93k times. ModLog.txt
This issue has already been fixed in an unreleased patch. I'm not certain when it will release as I am still on and off working on some changes I'd like to implement before doing so.
When the mod is downloaded and I try to go to the main menu from a save file, the game basically breaks and doesn't allow me to do anything. I've tested all my mods and the game only breaks when the Nightmare Spark mod is installed and active. I demonstrate the problem in the video link below.
https://github.com/RiverRobot/Nightmare-Spark/assets/144957176/6456c81e-cdd4-4fbd-91e5-867005003c4b