CMarinacci
Topic Author
Posts: 12
Joined: 07 Aug 2017, 02:56

All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI

12 Jun 2018, 22:17

To reproduce the crash:

1. Install Unity 2018.1.4.f1 (the latest release as of this post).

2. Start up Unity and create a new 2D Unity project.

3. Install the latest NoesisGUI Unity package (2.1.0f1) into the project.

4. Load the ControlGallery scene from the NoesisGUI Samples folder.

5. In the Assets/NoesisGUI/Samples/ControlGallery/MainWindow.xaml.cs file, insert the following two lines at the start of the LoadSample method:

string s = null;
string t = "x" + s.Length;

6. Run the program in the Unity editor. Click on the menu icon in the upper left, and pick any individual item (not submenu) from within the dropdown list. This will execute the above code, causing an exception which causes the Unity editor to crash.

Note that the crash doesn't happen when the exception-causing code is inserted in other locations (for example, at the start of the OnInitialized method in the same file above).

This may not be a NoesisGUI bug, but so far I haven't been able to reproduce it when not using NoesisGUI. This has been happening to me since the first 2018 Unity version.

Thanks,

Chris
 
CMarinacci
Topic Author
Posts: 12
Joined: 07 Aug 2017, 02:56

Re: All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI

16 Jun 2018, 01:05

The crash happens with Unity 2018.1.5.f1as well.

Thanks,

Chris
 
User avatar
jsantos
Site Admin
Posts: 2156
Joined: 20 Jan 2012, 17:18
Contact:

Re: All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI

18 Jun 2018, 21:19

Thanks for reporting this! Could you please report it in the tracker?
 
CMarinacci
Topic Author
Posts: 12
Joined: 07 Aug 2017, 02:56

Re: All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI

18 Jun 2018, 21:35

Done.

Thanks,

Chris
 
CMarinacci
Topic Author
Posts: 12
Joined: 07 Aug 2017, 02:56

Re: All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI

08 Sep 2018, 21:13

As of the current release version of the Unity editor (2018.2.7f1), the crash no longer happens.

Thanks,

Chris
 
User avatar
jsantos
Site Admin
Posts: 2156
Joined: 20 Jan 2012, 17:18
Contact:

Re: All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI

13 Sep 2018, 01:14

Thanks for the feedback. Anyway we will try to investigate what was happening. Let's continue in the tracker.
 
nokola
Posts: 155
Joined: 10 Mar 2015, 05:29

Re: All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI

13 Sep 2018, 09:48

This is a very good find! I've seen editor crashes sporadically with Noesis, but never have been able to figure them out. Perhaps the fix for this issue will help fix crashes I see too.

Who is online

Users browsing this forum: No registered users and 15 guests