Page MenuHome

Eevee assert in shader group sorting when opening file
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Linux-5.4.0-29-generic-x86_64-with-debian-bullseye-sid 64 Bits
Graphics card: Quadro RTX 5000/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.82

Blender Version
Broken: version: 2.83 (sub 16), hash: rBec324d8

Short description of error
Assert in Eevee, from T74424#884885

Exact steps for others to reproduce the error
Open attached file in a debug build.

An assert is hit in this file:

libc.so.6!raise (Unknown Source:0)
libc.so.6!abort (Unknown Source:0)
DRW_pass_sort_shgroup_z(DRWPass * pass) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_manager_data.c:1910)
eevee_draw_scene(void * vedata) (/home/jacques/blender-git/blender/source/blender/draw/engines/eevee/eevee_engine.c:200)
drw_engines_draw_scene() (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_manager.c:1042)
DRW_draw_render_loop_ex(struct Depsgraph * depsgraph, RenderEngineType * engine_type, ARegion * ar, View3D * v3d, GPUViewport * viewport, const bContext * evil_C) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_manager.c:1531)
DRW_draw_view(const bContext * C) (/home/jacques/blender-git/blender/source/blender/draw/intern/draw_manager.c:1417)
view3d_draw_view(const bContext * C, ARegion * ar) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_draw.c:1561)
view3d_main_region_draw(const bContext * C, ARegion * ar) (/home/jacques/blender-git/blender/source/blender/editors/space_view3d/view3d_draw.c:1585)
ED_region_do_draw(bContext * C, ARegion * ar) (/home/jacques/blender-git/blender/source/blender/editors/screen/area.c:534)
wm_draw_window_offscreen(bContext * C, wmWindow * win, _Bool stereo) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:634)
wm_draw_window(bContext * C, wmWindow * win) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:770)
wm_draw_update(bContext * C) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm_draw.c:952)
WM_main(bContext * C) (/home/jacques/blender-git/blender/source/blender/windowmanager/intern/wm.c:424)
main(int argc, const char ** argv) (/home/jacques/blender-git/blender/source/creator/creator.c:518)

It's this assert:

/* To be sorted a shgroup needs to have at least one draw command.  */
BLI_assert(handle != 0);

Related Objects