Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2018.2.0a1
2018.2.11f1
Issue ID
1095546
Regression
Yes
Dereferencing NULL PPtr! crash When Using Non-Directional Lightmap and Texture Streaming Scene View
Steps to reproduce:
1. Open User-supplied project
2. Select the Cube in the Hierarchy window and set him as 'Static' in the Inspector
3. Generate lighting in the Lighting window
Expected: no crash
Actual: crash
Reproduced in: 2018.2.0a1, 2018.2.14f1, 2018.3.0b9, 2019.1.0a8
Not reproduced in: 2017.4.14f1*, 2018.1.9f2
Note:
Stack Trace is empty.
*Console spams IndexOutOfRangeException: Array index is out of range. And the Scene View is empty
No crash if the cube is non-static
Dereferencing NULL PPtr!
UnityEngine.Texture:SetStreamingTextureMaterialDebugProperties()
UnityEditor.SceneView:PrepareCameraReplacementShader() (at C:\buildslave\unity\build\Editor\Mono\SceneView\SceneView.cs:1325)
UnityEditor.SceneView:OnGUI() (at C:\buildslave\unity\build\Editor\Mono\SceneView\SceneView.cs:1947)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:365)
UnityEditor.HostView:Invoke(String) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:359)
UnityEditor.HostView:InvokeOnGUI(Rect, Rect) (at C:\buildslave\unity\build\Editor\Mono\HostView.cs:325)
UnityEditor.DockArea:DrawView(Rect, Rect, Boolean, Boolean, Boolean) (at C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:351)
UnityEditor.DockArea:OldOnGUI() (at C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:310)
UnityEngine.UIElements.IMGUIContainer:DoOnGUI(Event, Matrix4x4, Rect, Boolean) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:249)
UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent(Event, Matrix4x4, Rect) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:443)
UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent() (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:417)
UnityEngine.UIElements.ImmediateStylePainterImpl:DrawImmediate(Action) (at C:\buildslave\unity\build\Modules\UIElements\ImmediateStylePainter.cs:113)
UnityEngine.UIElements.IMGUIContainer:DoRepaint(IStylePainter) (at C:\buildslave\unity\build\Modules\UIElements\IMGUIContainer.cs:103)
UnityEngine.UIElements.VisualElement:Repaint(IStylePainter) (at C:\buildslave\unity\build\Modules\UIElements\VisualElement.cs:778)
UnityEngine.UIElements.VisualTreeRepaintUpdater:PaintSubTree(VisualElement, Matrix4x4, Boolean, Boolean, Rect) (at C:\buildslave\unity\build\Modules\UIElements\VisualTreeRepaintUpdater.cs:296)
UnityEngine.UIElements.VisualTreeRepaintUpdater:PaintSubTreeChildren(VisualElement, Matrix4x4, Boolean, Boolean, Rect) (at C:\buildslave\unity\build\Modules\UIElements\VisualTreeRepaintUpdater.cs:314)
UnityEngine.UIElements.VisualTreeRepaintUpdater:PaintSubTree(VisualElement, Matrix4x4, Boolean, Boolean, Rect) (at C:\buildslave\unity\build\Modules\UIElements\VisualTreeRepaintUpdater.cs:300)
UnityEngine.UIElements.VisualTreeRepaintUpdater:Update() (at C:\buildslave\unity\build\Modules\UIElements\VisualTreeRepaintUpdater.cs:32)
UnityEngine.UIElements.VisualTreeUpdater:UpdateVisualTree() (at C:\buildslave\unity\build\Modules\UIElements\VisualTreeUpdater.cs:70)
UnityEngine.UIElements.Panel:Repaint(Event) (at C:\buildslave\unity\build\Modules\UIElements\Panel.cs:537)
UnityEngine.UIElements.UIElementsUtility:DoDispatch(BaseVisualElementPanel) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:235)
UnityEngine.UIElements.UIElementsUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\UIElements\UIElementsUtility.cs:68)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:\buildslave\unity\build\Modules\IMGUI\GUIUtility.cs:179)
Update: fixed in 2019.1.0a10
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
- "TLS Allocator ALLOC_TEMP_TLS" errors are thrown when unsuccessfully importing an FBX file
Add comment