Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X

Votes

0

Found in

2022.3.58f1

6000.0.39f1

6000.1.0b7

6000.2.0a4

Issue ID

UUM-97920

Regression

No

Crash on VFXValueWrapper::GetTexture when reimporting texture in use by out of bounds VFX

-

Reproduction steps:
1. Open the attached “IN-93309.zip” project
2. Open the “SampleScene”
3. Ensure the “Flame Stream” VFX is in view and playing
4. Turn the Scene View camera away from the VFX until it is no longer producing particles
5. Reimport “Assets/Textures/Flame Texture.png”
6. Turn the Scene View camera back to the VFX so that particles are being produced again
7. Observe the crash

Reproducible in 2022.3.58f1, 6000.0.39f1, 6000.1.0b7, 6000.2.0a4

Reproducible on: Windows 11
Not reproducible on: No other environments tested

First few lines of stacktrace:

{noformat}0x00007FFC19F62026 (Unity) VFXValueWrapper::GetTexture
0x00007FFC19F04E9A (Unity) VFX::CastVFXValueParam<VFXMaterialUniformUploader,VFXExpressionValueWrapper>
0x00007FFC19F42E6F (Unity) VisualEffect::PrepareTask<VFXMaterialUniformUploader>
0x00007FFC19F63344 (Unity) VisualEffect::PrepareMaterial
0x00007FFC19F192CC (Unity) VFXParticleSystem::UpdateMaterialCommand
0x00007FFC19F3B6E1 (Unity) VFXCommandList::VFXCommandSubList::Process{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.