View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002496 | NoesisGUI | Unity3D | public | 2023-01-27 20:54 | 2023-02-14 12:08 |
Reporter | stonstad | Assigned To | sfernandez | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.1.5 | ||||
Target Version | 3.2.0 | Fixed in Version | 3.2.0 | ||
Summary | 0002496: NoesisViewEditor.OnPreviewGUI Crash | ||||
Description | On app domain reload I am getting the following exception: NullReferenceException: Object reference not set to an instance of an object at NoesisViewEditor.OnPreviewGUI (UnityEngine.Rect rect_, UnityEngine.GUIStyle background) [0x00076] in C:\Source\StellarConquest\StellarConquest.Utilities\Noesis\3.1.5\Editor\NoesisViewEditor.cs:215 at UnityEditor.Editor.OnInteractivePreviewGUI (UnityEngine.Rect r, UnityEngine.GUIStyle background) [0x00001] in <f7044ab663d344a2badf1160e57d1c1d>:0 at UnityEditor.ObjectPreview.DrawPreview (UnityEditor.IPreviewable defaultPreview, UnityEngine.Rect previewArea, UnityEngine.Object[] targets) [0x00363] in <f7044ab663d344a2badf1160e57d1c1d>:0 at UnityEditor.Editor.DrawPreview (UnityEngine.Rect previewArea) [0x00009] in <f7044ab663d344a2badf1160e57d1c1d>:0 at UnityEditor.PropertyEditor.DrawPreviewAndLabels () [0x0050f] in <f7044ab663d344a2badf1160e57d1c1d>:0 at UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clip GUILayout: Mismatched LayoutGroup.repaint Crash!!! SymInit: Symbol-SearchPath: 'C:/Program Files/Unity/Hub/Editor/2022.2.1f1/Editor/Data/Mono;.;C:\Source\StellarConquest\StellarConquest.Presentation.Unity;C:\Source\StellarConquest\StellarConquest.Presentation.Unity\Library\BurstCache\JIT;C:\Program Files\Unity\Hub\Editor\2022.2.1f1\Editor;C:\Windows;C:\Windows\system32;', symOptions: 534, UserName: 'Shaun Tonstad' | ||||
Steps To Reproduce | Encl. dump and error logs. | ||||
Tags | No tags attached. | ||||
Platform | Any | ||||
related to | 0002495 | resolved | sfernandez | Texture Corruption Built Assembly |
The native crash was related to the texture corruption bug we fixed for 3.1.7 (issue 0002495). The null reference exception in NoesisViewEditor can be fixed with the following patch: - GUI.Label(new Rect(rect_.x + 5, rect_.y + 5, rect_.width, rect_.height), view.Xaml.uri, _previewHeaderStyle); + string uri = view.Xaml != null ? view.Xaml.uri : "No XAML selected"; + GUI.Label(new Rect(rect_.x + 5, rect_.y + 5, rect_.width, rect_.height), uri, _previewHeaderStyle); |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2023-01-27 20:54 | stonstad | New Issue | |
2023-01-27 20:54 | stonstad | File Added: Crash_2023-01-27_195208836.zip | |
2023-01-28 01:59 | jsantos | Assigned To | => sfernandez |
2023-01-28 01:59 | jsantos | Status | new => assigned |
2023-01-28 01:59 | jsantos | Target Version | => 3.1.7 |
2023-02-14 12:05 | sfernandez | Relationship added | related to 0002495 |
2023-02-14 12:07 | sfernandez | Status | assigned => resolved |
2023-02-14 12:07 | sfernandez | Resolution | open => fixed |
2023-02-14 12:07 | sfernandez | Fixed in Version | => 3.2.0 |
2023-02-14 12:07 | sfernandez | Note Added: 0008282 | |
2023-02-14 12:08 | sfernandez | Target Version | 3.1.7 => 3.2.0 |