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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment