Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Crash in RenderBufferManager::ReleaseTempBuffer

Discussion in '5.4 Beta' started by mbogue, Apr 13, 2016.

  1. mbogue

    mbogue

    Joined:
    Jun 23, 2015
    Posts:
    2
    I am running 5.4b14. I have had this crash since 5.4b11, possibly before. Is there a fix? I get this running in editor or a build. This occurs when running a nighttime version of my app. When I run in daytime, no crash. I have not isolated it yet. Nighttime just uses different lights, nothing special. I have disabled Graphics Jobs, Static and Dynamic batching and still get the crash. The app is VR.

    thanks.

    ========== OUTPUTING STACK TRACE ==================

    0x00000001402D6C87 (Unity) RenderBufferManager::ReleaseTempBuffer
    0x000000014011B5AA (Unity) ForwardShaderRenderLoop::CleanupAfterRendering
    0x000000014011EFDF (Unity) ForwardShaderRenderLoop::performRendering
    0x000000014011FA5D (Unity) DoForwardShaderRenderLoop
    0x000000014011311A (Unity) DoRenderLoop
    0x0000000140066821 (Unity) Camera::DoRender
    0x0000000140074842 (Unity) Camera::Render
    0x0000000140076FE7 (Unity) Camera::RenderStereo
    0x00000001400E976E (Unity) RenderManager::RenderCameras
    0x0000000140DF480C (Unity) RenderGameViewCameras
    0x00000001413C626C (Unity) EditorGUIUtility_CUSTOM_INTERNAL_CALL_RenderGameViewCamerasInternal
    0x000000001DE36464 (Mono JIT Code) (wrapper managed-to-native) UnityEditor.EditorGUIUtility:INTERNAL_CALL_RenderGameViewCamerasInternal (UnityEngine.RenderTexture,int,UnityEngine.Rect&,UnityEngine.Vector2&,bool)
    0x000000001DE3633A (Mono JIT Code) [C:\buildslave\unity\build\artifacts\generated\common\editor\EditorGUIUtilityBindings.gen.cs:606] UnityEditor.EditorGUIUtility:RenderGameViewCamerasInternal (UnityEngine.RenderTexture,int,UnityEngine.Rect,UnityEngine.Vector2,bool)
    0x000000001DD9ED56 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GameView\GameView.cs:616] UnityEditor.GameView:OnGUI ()
    0x000000000A296DC2 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
    0x00007FF8B2185153 (mono) [c:\buildslave\mono\build\mono\mini\mini.c:4937] mono_jit_runtime_invoke
    0x00007FF8B20D84E1 (mono) [c:\buildslave\mono\build\mono\metadata\object.c:2623] mono_runtime_invoke
    0x00007FF8B20DE8DB (mono) [c:\buildslave\mono\build\mono\metadata\object.c:3827] mono_runtime_invoke_array
    0x00007FF8B209CF2F (mono) [c:\buildslave\mono\build\mono\metadata\icall.c:2857] ves_icall_InternalInvoke
    0x000000000A2606F7 (Mono JIT Code) (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
    0x000000000A25E852 (Mono JIT Code) [/Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222] System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
    0x000000000A3481CF (Mono JIT Code) [/Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115] System.Reflection.MethodBase:Invoke (object,object[])
    0x000000001C9C61C6 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:187] UnityEditor.HostView:Invoke (string,object)
    0x000000001C9C60B0 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\HostView.cs:180] UnityEditor.HostView:Invoke (string)
    0x000000001DD82812 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\DockArea.cs:338] UnityEditor.DockArea:OnGUI ()
    0x000000000A296DC2 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
    0x00007FF8B2185153 (mono) [c:\buildslave\mono\build\mono\mini\mini.c:4937] mono_jit_runtime_invoke
    0x00007FF8B20D84E1 (mono) [c:\buildslave\mono\build\mono\metadata\object.c:2623] mono_runtime_invoke
    0x00000001404B731D (Unity) ScriptingInvocationNoArgs::Invoke
    0x0000000141294A23 (Unity) MonoBehaviourDoGUI
    0x0000000141287B60 (Unity) IMGUIModule::MonoBehaviourDoGUI
    0x000000014033AF0A (Unity) MonoBehaviour::DoGUI
    0x0000000140DFCE7E (Unity) GUIView::OnInputEvent
    0x0000000140DFE4C6 (Unity) GUIView::DoPaint
    0x0000000140DFE880 (Unity) GUIView::RepaintAll
    0x0000000140BB9B66 (Unity) Application::UpdateScene
    0x0000000140BBAEF9 (Unity) Application::UpdateSceneIfNeeded
    0x0000000140BC29D7 (Unity) Application::TickTimer
    0x0000000140E0D1AC (Unity) FindMonoBinaryToUse
    0x0000000140E0E7D1 (Unity) WinMain
    0x00000001415CD244 (Unity) read
    0x00007FF8D64713D2 (KERNEL32) BaseThreadInitThunk

    ========== END OF STACKTRACE ===========
     
  2. mbogue

    mbogue

    Joined:
    Jun 23, 2015
    Posts:
    2
    Seems to be related to having hard shadows on a flash light. Disabling the shadows restores stability so far. Maybe it's shadows casting horizontal to the ground. It's a trivial repro for me.
     
  3. Alex-Lian

    Alex-Lian

    Guest

    Bug report # please?