Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt 3D Studio 2.5 BETA3
-
None
-
fa0c4c3eba5059decce0b5fc9f588403796f91c0, 23146bfe5641cb35eb73235f9dddfba99ebfaf76
Description
Create a presentation and add an effect. Add the effect to layer. In external editor, modify shader for the effect. If this does not crash editor, then try removing and readding the effect to layer and edit the shader code between adds/removes. Eventually instance refresh triggered by shader code change causes an out of rangecrash:
1 eastl::AssertionFailureFunctionDefault assert.cpp 108 0x7ff6150560d9
2 eastl::AssertionFailure assert.cpp 118 0x7ff6150560b5
3 eastl::vector<qt3ds::render::SEffectContext *,qt3ds::foundation::ForwardingAllocator>::operator[] vector.h 847 0x7ff61585b3de
4 `anonymous namespace'::SEffectSystem::ReleaseEffectContext Qt3DSRenderEffectSystem.cpp 1785 0x7ff6158682c7
5 `anonymous namespace'::SEffectSystem::UnregisterEffect Qt3DSRenderEffectSystem.cpp 715 0x7ff61586afdf
6 qt3ds::studio::STranslation::CreateTranslator StudioRendererTranslation.cpp 1734 0x7ff614f46b51
7 qt3ds::studio::STranslation::GetOrCreateTranslator StudioRendererTranslation.cpp 1856 0x7ff614f479b4
8 qt3ds::studio::STranslation::GetOrCreateTranslator StudioRendererTranslation.cpp 1837 0x7ff614f47707
9 qt3ds::studio::STranslation::MarkDirty StudioRendererTranslation.cpp 2178 0x7ff614f398d3
10 `anonymous namespace'::SRendererImpl::OnImmediateRefreshInstanceSingle StudioRenderer.cpp 647 0x7ff614f2f26b
11 CMulticaster<IDataModelListener *>::FireEventSource<void (__cdecl IDataModelListener:: *)(qt3dsdm::Qt3DSDMInstanceHandle),qt3dsdm::Qt3DSDMInstanceHandle> Multicaster.h 124 0x7ff61549858d
12 CMulticaster<IDataModelListener *>::FireEvent<void (__cdecl IDataModelListener:: *)(qt3dsdm::Qt3DSDMInstanceHandle),qt3dsdm::Qt3DSDMInstanceHandle> Multicaster.h 112 0x7ff6154969e1
13 CDispatch::FireImmediateRefreshInstance Dispatch.cpp 101 0x7ff615492c34
14 `anonymous namespace'::CDocEditor::OnProjectDirChanged DocumentEditor.cpp 5420 0x7ff615538536
Attachments
Issue Links
- relates to
-
QT3DS-3978 Editor crashes when shader file is changed externally and shader then changed
- Closed