Page MenuHome

EEVEE Irradiance volume probe causes an instant Blender crash and exit.
Closed, ResolvedPublic


System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce RTX 2070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.92

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-08-03 05:14, hash: rB144f780c71ed
Worked: blender-2.90.0-baf124c753d9-windows64

Short description of error
EEVEE Irradiance volume probe causes an instant Blender crash and exit.

Exact steps for others to reproduce the error

  1. Start Blender with the default startup.
  2. Add an Irradiance volume probe.
  3. Bake Indirect Lighting.
  4. Under "Indirect Lighting" section then below the "Display" sub-section turn ON Irradiance Size.
  5. On the viewport switch to Render Preview mode.

This steps will cause Blender to crash instantly and exit.

Revisions and Commits

Event Timeline

Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Aug 4 2020, 8:54 AM

Exception thrown: read access violation. shader was nullptr.

>	blender.exe!GPU_shader_get_builtin_block(GPUShader * shader, int builtin) Line 668	C++
 	blender.exe!drw_shgroup_init(DRWShadingGroup * shgroup, GPUShader * shader) Line 1193	C
 	blender.exe!DRW_shgroup_create(GPUShader * shader, DRWPass * pass) Line 1370	C
 	blender.exe!EEVEE_lightprobes_cache_init(EEVEE_ViewLayerData * sldata, EEVEE_Data * vedata) Line 386	C
 	blender.exe!eevee_cache_init(void * vedata) Line 106	C
 	blender.exe!drw_engines_cache_init() Line 955	C
 	blender.exe!DRW_draw_render_loop_ex(Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * region, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) Line 1474	C
 	blender.exe!DRW_draw_view(const bContext * C) Line 1405	C
 	[Inline Frame] blender.exe!view3d_draw_view(const bContext *) Line 1595	C
 	blender.exe!view3d_main_region_draw(const bContext * C, ARegion * region) Line 1619	C
 	blender.exe!ED_region_do_draw(bContext * C, ARegion * region) Line 543	C
 	blender.exe!wm_draw_window_offscreen(bContext * C, wmWindow * win, bool stereo) Line 698	C
 	blender.exe!wm_draw_window(bContext * C, wmWindow * win) Line 826	C
 	blender.exe!wm_draw_update(bContext * C) Line 1028	C
 	blender.exe!WM_main(bContext * C) Line 482	C
 	blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 548	C
 	[External Code]
Fragment shader failed to compile with the following errors:
ERROR: 5:17: error(#143) Undeclared identifier: ViewMatrixInverse
ERROR: 5:18: error(#143) Undeclared identifier: IrradianceData
ERROR: 5:18: error(#132) Syntax error: "ir_data" parse error
ERROR: error(#273) 3 compilation errors.  No code generated

Might be a missing BLENDER_REQUIRE.