Closed LocalJoost closed 3 years ago
Hi,after run this demo1.some error has showed up,i put it below: Unable to find IStateService service. UnityEngine.Debug:LogError(Object) NullReferenceException: Object reference not set to an instance of an object ReactNativeDemo.Controllers.ToggleButton2Controller.OnEnable () (at Assets/App/Scripts/Controllers/ToggleButton2Controller.cs:19) how can i fixes it? hope to getting your respones soon.
You can fix it by pulling again ;) The error was in the main branch, that I did not check properly. Branches blog1 and blog2 work. Now main does as well, I made a very tiny fix by just tapping the "repair" button in the MRTK next to the service definition.
the problem solved,many thanks, im new to MR and Unirx, this demo can really help:)
You are welcome, welcome to the wonderful world of MR. Good luck with your endavours!
Original article: https://localjoost.github.io/Model-driven-Mixed-Reality-apps-using-UniRx-and-a-MRKT-extension-service,-part-1/