- CMarinacci
- Posts: 15
- Joined:
All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI
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
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
- Posts: 15
- Joined:
Re: All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI
The crash happens with Unity 2018.1.5.f1as well.
Thanks,
Chris
Thanks,
Chris
Re: All 2018 versions of the Unity editor may crash on an exception when using NoesisGUI
Thanks for reporting this! Could you please report it in the tracker?
- CMarinacci
- Posts: 15
- Joined:
Who is online
Users browsing this forum: Bing [Bot] and 1 guest