Forum rules - please read before posting.

Boot up my game today and suddenly all of my scenes are black screen

Hello, I tried booting up my project today but everything suddenly become black screen. No scenes are starting and I got this error. What may be causing this and how do I fix it?

ArgumentException: JSON parse error: Invalid value.
UnityEngine.JsonUtility.FromJsonInternal (System.String json, System.Object objectToOverwrite, System.Type type) (at :0)
UnityEngine.JsonUtility.FromJson (System.String json, System.Type type) (at :0)
UnityEngine.JsonUtility.FromJson[T] (System.String json) (at :0)
UnityEngine.InputSystem.InputActionRebindingExtensions.LoadBindingOverridesFromJsonInternal (UnityEngine.InputSystem.IInputActionCollection2 actions, System.String json) (at ./Library/PackageCache/com.unity.inputsystem@be6c4fd0abf5/InputSystem/Actions/InputActionRebindingExtensions.cs:1265)
UnityEngine.InputSystem.InputActionRebindingExtensions.LoadBindingOverridesFromJson (UnityEngine.InputSystem.IInputActionCollection2 actions, System.String json, System.Boolean removeExisting) (at ./Library/PackageCache/com.unity.inputsystem@be6c4fd0abf5/InputSystem/Actions/InputActionRebindingExtensions.cs:1211)
AC.Downloads.InputSystemIntegration.ControlsReader.LoadRebindings () (at Assets/AdventureCreator/Downloads/Input System integration/Scripts/ControlsReader.cs:336)
AC.Downloads.InputSystemIntegration.ControlsReader.OnInitialiseScene () (at Assets/AdventureCreator/Downloads/Input System integration/Scripts/ControlsReader.cs:285)
AC.EventManager.Call_OnInitialiseScene () (at Assets/AdventureCreator/Scripts/Managers/EventManager.cs:2332)
AC.SaveSystem+d__56.MoveNext () (at Assets/AdventureCreator/Scripts/Save system/SaveSystem.cs:822)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <7b8172fcdd864e17924794813da71712>:0)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
AC.SaveSystem:InitAfterLoad(Int32) (at Assets/AdventureCreator/Scripts/Save system/SaveSystem.cs:794)
AC.MultiSceneChecker:RunStartProcess() (at Assets/AdventureCreator/Scripts/Game engine/MultiSceneChecker.cs:138)
AC.MultiSceneChecker:Start() (at Assets/AdventureCreator/Scripts/Game engine/MultiSceneChecker.cs:51)

Comments

  • For additional context, I was just editing some global variable and menu elements when this happened. It just stays black screen for about 30 seconds, then it shows me the scene without the OnStart. Also, things like ONstart wont start unless I manually click run now.

  • What are your AC / Unity versions?

    The issue looks to be related to the reading of input rebinding data for the Input System integration template.

    This data is stored in a Global String variable - named InputRebindings by default. The exact variable being used is set in the Controls Reader component of your game's Event System prefab, which is assigned at the top of the Menu Manager.

    Did you alter or remove this variable in the Variables Manager? If you're not making use of the input rebindings feature, you could clear the variable reference from the component to bypass the data being read.

  • I'm using v1.85.3

    I tried removing it and that fixed it. Thanks again Chris, I was stuck for a few hours.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.