Search Issue Tracker

Active

Votes

0

Found in

6000.0.29f1

6000.1.0a6

Issue ID

UUM-89067

Regression

Yes

Crash on OverridingParameterPreparer::OnPrepareVector when repeatedly saving changes made to a Shader Graph

--

-

Steps to reproduce:
1. Open the “user’s attached project”
2. Open the “Sprite“ Shader Graph through the Project window
3. Make changes inside the Shader Graph
4. Repeatedly press “command + S” to save the changes
5. Observe the crash
6. If the crash does not occur, repeat steps 3 and 4

Reproducible on: macOS 15.1 (M1 Max),
Not reproducible on: Windows 11

Reproducible with versions: 6000.0.6f1, 6000.0.29f1, 6000.1.0.0a6
Not reproducible with versions: 2021.3.46f1, 2022.3.53f1, 6000.0.5f1

First few lines of StackTrace:

{noformat}#0 0x00000104f1f030 in OverridingParameterPreparer::OnPrepareVector(PartialArray<Vector4f>&, GpuProgramParameters::ValueParameter const&) const
#1 0x00000104ed066c in void PrepareValueParameters<OverridingParameterPreparer>(core::vector<GpuProgramParameters::ValueParameter, core::allocator<GpuProgramParameters::ValueParameter, 0ul>> const&, unsigned int, unsigned int, unsigned int, core::vector<unsigned char, core::allocator<unsigned char, 4ul>>&, OverridingParameterPreparer const&)
#2 0x00000104ecff2c in GpuProgramParameters::PrepareOverridingValues(ShaderPropertySheet const&, core::vector<unsigned char, core::allocator<unsigned char, 4ul>>&, core::vector<unsigned char, core::allocator<unsigned char, 4ul>>*, SRPBatcherSubProgramInfo const*) const
#3 0x00000104d9c89c in ShaderLab::Pass::ComputePassValuesHash(keywords::LocalKeywordState const&, ShaderPropertySheet const*, Shader*, int, int, unsigned int*) const
#4 0x00000104cefd0c in Material::UpdateHashes(Shader*, SharedMaterialData&)
#5 0x00000104cef77c in Material::BuildProperties(bool){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.