Description
Hi!
I noticed in my main project that if I change certain value prior to entering PlayMode in the Rig, they don't seem to affect the behaviour of the Rig.
For instance, if I toggle "Don't Destroy", it still gets destroyed when loading a new scene. I can get the Rig to persist, if I add my own DontDestroyOnLoad script to the object. The code is exactly the same as the one in Session.cs, which confuses me a bit.
Also, if I first set the Settings Mode in [UXF_UI] to 'Download from URL', and I make a spelling error in the URL (e.g. change the default URL to 'https://giste...' instead of 'https://gist...'), I naturally get an Internal Server Error, which is expected. However, if I then change the Settings Mode to 'Empty', without first fixing my typo, I still get the same Server Error. That only changes if I first fix the typo, and only then set the Settings Mode to 'Empty'. It looks like the Rig always wants to connect to the URL, regardless of the mode it's on.
On a brand new Unity Project, when following the same steps, I don't seem to have these issues.
Things I've changed / tried in my main project:
- I've added ASMDefs for the UXF and the UXF.tests (also did this in the new test project, and there it's no prob).
- Changed the script execution order to have Session be running first. No luck.
- Disabled the SessionEditor, thought that maybe the Editor was not updating the values correctly. No luck.
I'm running UXF Version 2.3.6 on Unity 2021.2.11.
What else can I try to solve this?
Best,
Maarten