CMarinacci
Topic Author
Posts: 11
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: 11
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: 2122
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: 11
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

Who is online

Users browsing this forum: No registered users and 16 guests