Page 1 of 1

Noesis crashes Unity when using Unit Tests and forgetting Noesis.GUI.Init()

Posted: 02 Aug 2022, 12:04
by Sybaris
Hi everybody,

I just wanted to note that when Unity Unit Tests (UTF) are used and the application uses Noesis elements, it will crash Unity if not initialized via Noesis.GUI.Init(). Unfortunately without any notice and without even a stack trace.
It's OK when a system requires to be initialized, but a message in an exception would be very helpful to track down the problem.
In my specific case the crash happened at XamlReader.Parse().

EDIT: I'm using Noesis 3.1.4.

Regards,

G.

Re: Noesis crashes Unity when using Unit Tests and forgetting Noesis.GUI.Init()

Posted: 02 Aug 2022, 12:16
by jsantos
Could you please create a ticket about this?

Re: Noesis crashes Unity when using Unit Tests and forgetting Noesis.GUI.Init()

Posted: 03 Aug 2022, 15:58
by jsantos
Thanks for the ticket (#2393).

Please, open different threads for each problem. I just split this topic.