Search Issue Tracker
By Design
Votes
0
Found in
5.4.0b21
Issue ID
805380
Regression
No
Generating a scene procedurally via editor scripting and setting the AudioSource.spatialBlend of a prefab causes errors
How to reproduce:
1. Open attached project ant the "TestCode.cs" file in it.
2. Observe the comments in the script and notice that the 'child' GameObject is assigned the name "Child" and is reparented to be a children of 'Root'.
3. Execute from Editor main menu by clicking BugReport -> Create Scene and observe that 'child' is using the name "Classic_E01_F01_Config" and that it is not parented under the 'Root' GameObject.
4. Remove the line "audio.spatialBlend = 0" from the script and execute "BugReport -> Create Scene" again. Observe the name is correct and it's also parented under the 'Root' GameObject.
Reproducible: 5.2.4f1, 5.3.5f1, 5.4.0b21
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
Add comment