Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

5.4r21 & r22 Light probe crash

Discussion in '5.4 Beta' started by jimmay, Jun 27, 2016.

  1. jimmay

    jimmay

    Joined:
    Sep 23, 2010
    Posts:
    28
    I am upgrading from r19 to r21 or r22 and I'm getting a crash loading a scene with light probes. There are 2 errors in the console:

    "Error adding Enlighten prob set: Failed to allocate probe set XXXXX"

    The native callstack:

    Unity.exe!memmove() Unknown
    Unity.exe!GetLightProbeProxyVolumeSample(struct LightProbeProxyVolumeContext const &,short,struct LightProbeProxyVolumeSample &) Unknown
    Unity.exe!ForwardShaderRenderLoop::RenderForwardShadowMaps(struct ActiveLight const *,bool,enum Camera::RenderFlag,struct ShaderPassContext &) Unknown
    Unity.exe!GfxDevice::ExecuteAsync(int,void (*)(struct GfxDeviceAsyncCommand::ArgScratch *,struct GfxDeviceAsyncCommand::Arg const *),struct GfxDeviceAsyncCommand::ArgScratch * *,struct GfxDeviceAsyncCommand::Arg const *,struct JobFence &) Unknown
    Unity.exe!ForwardShaderRenderLoop::StartRenderJobs(struct JobFence &,bool,struct ShaderPassContext &) Unknown
    Unity.exe!ForwardShaderRenderLoop:: PerformRendering(struct JobFence &,struct ActiveLight const *,struct ShadowJobData const &,bool,bool,bool,enum Camera::RenderFlag) Unknown
    Unity.exe!DoForwardShaderRenderLoop(struct RenderLoopContext &,struct dynamic_array<struct RenderObjectData,8> &,struct CullResults const &,bool,bool,bool,enum Camera::RenderFlag) Unknown
    Unity.exe!DoRenderLoop(struct RenderLoop &,enum RenderingPath,struct CullResults &,struct ShadowMapCache &,bool) Unknown
    Unity.exe!Camera:: DoRender(struct CullResults &,struct SharedRendererScene const &,enum Camera::RenderFlag,void (*)(class Camera &,struct RenderLoop &,class RenderNodeQueue const &),class RenderNodeQueue const *) Unknown
    Unity.exe!Camera::RenderEditorCamera(enum Camera::EditorDrawingMode,struct DrawGridParameters const *) Unknown
    Unity.exe!Handles_CUSTOM_Internal_DrawCameraWithGrid(struct ReadOnlyScriptingObjectOfType<class Camera>,int,struct DrawGridParameters &) Unknown
    0000000022951b7b() Unknown
    0000000024369780() Unknown
    0000000022d3a510() Unknown
    0000000024369780() Unknown
     
  2. jimmay

    jimmay

    Joined:
    Sep 23, 2010
    Posts:
    28
    Deleting light map data seems to "fix" this crash.

    Until I rebuilt light maps and it crashed. Wheee.
     
  3. Alex-Lian

    Alex-Lian

    Guest

    Should be a fix in flight to address this (may not make b24)