Noesis 2 and Unity 5.5 - LoadXaml(path) Returning Null
Posted: 01 Jun 2017, 18:46
I am having difficulty upgrading from v1.2.6 to v2.0.1f . We are using Unity 5.5.3. The tutorial states that we can add PreLoaded Xamls to the Settings: 
- If I open the editor and don't reimport all, then Unity cannot load the xaml using "Noesis.GUI.LoadXaml()". That is bad
- If I create a standalone build, I get the same issue. That is really bad
I'm not sure why Reimporting All xaml files is necessary every time I load up Unity. I have > 90 xaml files and do not want to move them to "/Resources". I have added them all to the preloadedXamls array and am attempting to load them via
But if I do not "Reimport All" then the above call returns null.
I'm obviously missing something. Anybody have an ideas?
Is there something I'm doing wrong?
- This is what I've done. It works in the editor when I click "Reimport All" in the Settings. That's goodXAMLs to register at startup. They can be loaded using Noesis.GUI.LoadXaml() without referrencing them in scripts or copying to /Resources"
- If I open the editor and don't reimport all, then Unity cannot load the xaml using "Noesis.GUI.LoadXaml()". That is bad
- If I create a standalone build, I get the same issue. That is really bad
I'm not sure why Reimporting All xaml files is necessary every time I load up Unity. I have > 90 xaml files and do not want to move them to "/Resources". I have added them all to the preloadedXamls array and am attempting to load them via
Code: Select all
var xaml = Noesis.GUI.LoadXaml(path);I'm obviously missing something. Anybody have an ideas?
Is there something I'm doing wrong?