Search Issue Tracker

Fixed in 2019.2.X

Fixed in 2018.4.X, 2019.1.X

Votes

0

Found in

2018.3.0a1

2018.3.1f1

2019.1.0a1

2019.2.0a1

Issue ID

1117775

Regression

Yes

Editor crashes at MaterialScripting::Lerp when Renderer.material.Lerp() has a null material

Graphics - General

-

Steps to reproduce:
1. Download 1117775_repro.zip
2. Open "Map" scene
3. Enter play mode

Results: editor crashes when one of the Renderer.material.Lerp() method's material is null.

Reproduced with: 2019.2.0a1, 2019.1.0a14, 2018.3.3.f1
Not reproducible with: 2017.4.18f1

========== OUTPUTTING STACK TRACE ==================

0x000000014079B33C (Unity) MaterialScripting::Lerp
0x000000014179BA14 (Unity) Material_CUSTOM_Lerp
0x000000003BE375FA (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Material:Lerp (UnityEngine.Material,UnityEngine.Material,UnityEngine.Material,single)
0x000000003BE366F3 (Mono JIT Code) [C:\Users\\GazeMatirialTransition.cs:29] CG.Hololens.Map.Effects.GazeMatirialTransition:Update ()
0x000000003BF007A8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFCDA56A52B (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\mini\mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FFCDA4F1AE2 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2915] do_runtime_invoke
0x00007FFCDA4FAACF (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2962] mono_runtime_invoke
0x0000000140BB436A (Unity) scripting_method_invoke
0x0000000140BAAA0A (Unity) ScriptingInvocation::Invoke
0x0000000140B70683 (Unity) MonoBehaviour::CallMethodIfAvailable
0x0000000140B70D84 (Unity) MonoBehaviour::CallUpdateMethod
0x00000001406C74A1 (Unity) BaseBehaviourManager::CommonUpdate<BehaviourManager>
0x00000001406CDCD6 (Unity) BehaviourManager::Update
0x000000014092FA63 (Unity) `InitPlayerLoopCallbacks'::`2'::UpdateScriptRunBehaviourUpdateRegistrator::Forward
0x000000014092E6B7 (Unity) ExecutePlayerLoop
0x000000014092E783 (Unity) ExecutePlayerLoop
0x0000000140930DE0 (Unity) PlayerLoop
0x00000001412A5C1A (Unity) PlayerLoopController::UpdateScene
0x0000000141295A3D (Unity) PlayerLoopController::EnterPlayMode
0x00000001412A1668 (Unity) PlayerLoopController::SetIsPlaying
0x00000001412A447C (Unity) Application::TickTimer
0x0000000141411EE2 (Unity) MainMessageLoop
0x00000001414142BD (Unity) WinMain
0x000000014236955A (Unity) __scrt_common_main_seh
0x00007FFD2A387E94 (KERNEL32) BaseThreadInitThunk
0x00007FFD2AE0A251 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

  1. Resolution Note (fix version 2019.2):

    Fixed in: 2019.2.0a3, 2019.1.0b2

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.