Search Issue Tracker

Not Reproducible

Votes

0

Found in

2017.2.0b10

Issue ID

948677

Regression

Yes

Crashed in Material::UnshareMaterialData when pressing Ctrl + S

Graphics - General

-

Steps to reproduce:

1) Download attached project and open in Unity
2) Open scene 'Gameplay_Ar'
3) L.click with the mouse on 'Cube1m3'(cube) gameObject in the Scene view
4) Start quickly pressing Ctrl+S (usually takes 2-10 times until Editor crash)
(Full log is attached)
========== OUTPUTING STACK TRACE ==================

0x0000000140840367 (Unity) Material::UnshareMaterialData
0x00000001408450CA (Unity) Material::DisableKeyword
0x00000001417D60E3 (Unity) UI::Canvas::UpdateRectClipping
0x00000001417E176F (Unity) UI::Canvas::DrawIntermediateRenderer
0x00000001417E19D5 (Unity) UI::Canvas::EmitWorldGeometry
0x00000001417E1D19 (Unity) UI::Canvas::EmitWorldGeometryForSceneView
0x00000001417E235E (Unity) UI::CanvasManager::EmitWorldGeometryForSceneView
0x0000000140CE956C (Unity) Camera::RenderEditorCamera
0x0000000140CEB21A (Unity) Camera::RenderEditorCamera

Reproduced with:
2017.2.0b1, 2017.2.0b10, 2017.3.0a7

Not reproduced with:
2017.1.1f1, 2017.2.0a4

Regression since:
2017.2.0b1

Note: tested using Windows 10 machine

Comments (4)

  1. Reticulatas

    Sep 21, 2017 16:41

    Without TMPro in my assets, this issue does not occur AFAIK

  2. Reticulatas

    Sep 21, 2017 16:35

    I have a feeling this might be Text Mesh Pro.

    NullReferenceException: Object reference not set to an instance of an object
    TMPro.TMP_Settings.get_defaultFontAsset ()
    TMPro.TextMeshProUGUI.LoadFontAsset ()
    TMPro.TextMeshProUGUI.OnValidate ()
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

    I get this on re-load of the scene. Considering it's a UI canvas update during editor camera render, it makes sense that we likely have something wrong with TMPro

  3. Reticulatas

    Sep 21, 2017 16:34

    I have also reproduced this, but I do not have the option to downgrade. Here's to hoping, I guess?

  4. Chesiqcom

    Sep 16, 2017 15:30

    I reproduced it and downgraded my project from 2017.2 back to 5.4

    Lost progress.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.