Search Issue Tracker

Active

Votes

0

Found in

2022.3.55f1

6000.0.33f1

6000.1.0b1

Issue ID

UUM-91916

Regression

No

Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS

--

-

Reproduction steps:
1. Open the attached “IN-92131_VFXCrash.zip“ project
2. Open the “/Assets/_Crash/New Scene.unity“ Scene
3. Enter the Play Mode
4. Select the “New Graph“ GameObject in the Hierarchy
5. Change the “Procedure“ value by dragging the slider in the Inspector

Expected result: Procedure value gets changed and the Visual Effect changes according to the new change
Actual result: Editor crashes

Reproducible with: 2022.3.55f1, 6000.0.33f1, 6000.1.0b1

Reproducible on: M1 Max MacOS 15.1.1
Not reproducible on: No other environment tested

First few lines of the stack trace:

{noformat}#0 0x000001036fff84 in StoredGraphicsBuffer::GetGfxBufferID(VFXValueContainer const*) const
#1 0x0000010372055c in VFXValueWrapper::operator GfxBufferID() const
#2 0x000001036ec3a4 in void VFX::CastVFXValueParam<VFXMaterialUniformUploader, VFXExpressionValueWrapper>(VFXMaterialUniformUploader&, VFXExpressionValueWrapper const&, VFXValueType)
#3 0x0000010374a09c in void VisualEffect::ProcessUniforms<VFXMaterialUniformUploader>(VFXMaterialUniformUploader&, core::vector<VFXMapping, core::allocator<VFXMapping, 0ul>> const&) const
#4 0x000001037251cc in void VisualEffect::PrepareTask<VFXMaterialUniformUploader>(VFXMaterialUniformUploader&, VFXTaskDesc const&, bool) const
#5 0x0000010372511c in VisualEffect::PrepareMaterial(Material*, VFXTaskDesc const&, bool) const{noformat}

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.