Opening animgraph or modeldoc breaks cubemap textures in scene until the animgraph is closed, and then it returns back to normal. I assume its using the cubemap in the animgraph preview maybe?
To Reproduce
1 - have a plane with a reflective material i.e dev_metal_rough40
2 - open a animationgraph window
Expected behavior
Lighting preview in tools should not affect scene lighting.
02:23:57 engine/InputBindSystem [5] * Rehandling active codes
02:23:58 engine/RenderSystem CSwapChainVulkan::SwapBuffers(): the main thread is more than 3 frames ahead which means no swap queue images are available. Waiting for outstanding frames...
02:23:59 engine/InputBindSystem [2] * Rehandling active codes
02:23:59 engine/RenderSystem Removing texture from streamable list (materials/editor/env_sky_tga_8342e814.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from pending streamable list (materials/editor/env_sky_tga_8342e814.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from streamable list (materials/models/solids/black_vmat_g_troughness_6fb51546.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from pending streamable list (materials/models/solids/black_vmat_g_troughness_6fb51546.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from streamable list (materials/models/solids/black_color_tga_772d73e6.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from pending streamable list (materials/models/solids/black_color_tga_772d73e6.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from streamable list (materials/models/editor/sun_vmat_g_tcolor_a0ce44b8.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from pending streamable list (materials/models/editor/sun_vmat_g_tcolor_a0ce44b8.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from streamable list (materials/editor/env_cubemap_model_vmat_g_tnormal_3f3ccc55.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from pending streamable list (materials/editor/env_cubemap_model_vmat_g_tnormal_3f3ccc55.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from streamable list (materials/editor/env_cubemap_model_vmat_g_tcolor_a0ce44b8.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from pending streamable list (materials/editor/env_cubemap_model_vmat_g_tcolor_a0ce44b8.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from streamable list (models/editor/spawnpoint_vmat_g_tnormal_3f3ccc55.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from pending streamable list (models/editor/spawnpoint_vmat_g_tnormal_3f3ccc55.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from streamable list (models/editor/spawnpoint_color_png_ef2698c2.generated.vtex)
02:23:59 engine/RenderSystem Removing texture from pending streamable list (models/editor/spawnpoint_color_png_ef2698c2.generated.vtex)
02:23:59 engine/RenderSystem TEXMAN: Deleting 19 textures
02:23:59 engine/RenderSystem TEXMAN: Deleting 2 textures
02:23:59 engine/RenderSystem TEXMAN: Deleting 15 textures
02:24:02 engine/InputBindSystem [1] * Rehandling active codes
Describe the bug
Opening animgraph or modeldoc breaks cubemap textures in scene until the animgraph is closed, and then it returns back to normal. I assume its using the cubemap in the animgraph preview maybe?
To Reproduce
1 - have a plane with a reflective material i.e dev_metal_rough40 2 - open a animationgraph window
Expected behavior
Lighting preview in tools should not affect scene lighting.
Media/Files
https://github.com/Facepunch/sbox-issues/assets/13779328/4257b5fd-05ef-4f44-9693-b3db58ce47e7
Additional context
os: windows 11 gpu: 3070ti ram: 32gb ram, cpu: intel i5-12400F
Logs when opening the animgraph
Logs after closing the anim graph