Search found 39 matches

by Rocko Bonaparte
03 Oct 2022, 08:41
Forum: General Discussion
Replies: 14
Views: 998

Re: Adjusting to new NoesisGUI release for Unity

I managed to fix it and I don't really know why. I even have a git commit where I can just go back and forth between working and not working, and I have played with it. There were two things I did: 1. Renamed a control between it's XAML, codebehind, and its references everywhere. 2. Removed a public...
by Rocko Bonaparte
02 Oct 2022, 00:55
Forum: General Discussion
Replies: 14
Views: 998

Re: Adjusting to new NoesisGUI release for Unity

I haven't fixed it but I've figured out the GameControl class I'm using for the control in A.xaml is at play since: 1. I can pretty much declare that in an otherwise empty xaml and hit the reference B.xaml. 2. The source for it is what I basically define in B.xaml DUN DUN DUN. It's the joy of legacy...
by Rocko Bonaparte
30 Sep 2022, 09:31
Forum: General Discussion
Replies: 14
Views: 998

Re: Adjusting to new NoesisGUI release for Unity

Probably. Please humor me a bit and then I might end up just using the thread to talk to myself this weekend afterwards. I increased the verbosity and it was at least telling me what successfully loaded beforehand. I can see my theme.xaml was loaded. Right after that, it complains about not finding ...
by Rocko Bonaparte
28 Sep 2022, 18:29
Forum: General Discussion
Replies: 14
Views: 998

Re: Adjusting to new NoesisGUI release for Unity

I don't know. At this point, the code is kind of legacy and I have to do a lot of relearning to even be able to model what I think the problem could be, let alone what it actually is.

I am guessing the answer to my question about additional logging and diagnostics is "No."
by Rocko Bonaparte
28 Sep 2022, 08:57
Forum: General Discussion
Replies: 14
Views: 998

Re: Adjusting to new NoesisGUI release for Unity

Update: I think I see one common linkage. Both xaml files have a DataContext to a view model in A.xaml's codebehind. I ran out of time tonight fighting with attaching the debugger (attaching to Unity can be like that pretty often) inside the view model's constructor to see if it's trying to get invo...
by Rocko Bonaparte
27 Sep 2022, 09:23
Forum: General Discussion
Replies: 14
Views: 998

Re: Adjusting to new NoesisGUI release for Unity

Is there anything I can do to, say, crank up the verbosity level to try to determine why one Xaml load is triggering another? I purged all the .asset files and it didn't fix one particular problem with a Xaml not being found. It looks like when I enter play mode, UnityEngine.GUIUtility.ProcessEvent ...
by Rocko Bonaparte
26 Sep 2022, 10:02
Forum: General Discussion
Replies: 14
Views: 998

Re: Adjusting to new NoesisGUI release for Unity

Rereading the release/upgrade notes, I guess I didn't have to abandon using Resource .xamls completely; I just needed to remove the .asset files. Is that right? I also have concluded that what I'm fighting here is most likely what I was fighting over a year ago or so when I was first integrating thi...
by Rocko Bonaparte
26 Sep 2022, 07:53
Forum: General Discussion
Replies: 14
Views: 998

Re: Adjusting to new NoesisGUI release for Unity

I think some of the issue with resolving .xaml files is that they were trying to get loaded at run time as Resources, and I think that's just downright impossible now. At least I couldn't never get it to go. I did a lot of rearranging and I got rid of most of them, but I have this one nasty one. I h...
by Rocko Bonaparte
25 Sep 2022, 08:57
Forum: General Discussion
Replies: 14
Views: 998

Adjusting to new NoesisGUI release for Unity

I returned to my actual Unity project to make updates. It was running on one of the 2019 releases and I moved up to 2021. In the process, I updated NoesisGUI inside of it as well. I have quite the pile of errors but I think it comes down to two categories: 1. Not resolving Xamls (again) 2. Construct...
by Rocko Bonaparte
17 Apr 2021, 05:56
Forum: General Discussion
Replies: 1
Views: 573

Looking for a good approach to insert/substitute markers for controller hints

I have images for just about ever keyboard key, mouse control, and various gamepad controllers. I have bindings from my controllers to actions and I'd like to show the images of these keys/buttons/joysticks when prompted. I'm trying to figure out a good approach for this. I have two generation scena...