Search Issue Tracker
By Design
By Design in 6000.0.X
Votes
0
Found in
2021.3.38f1
2022.3.30f1
6000.0.4f1
Issue ID
UUM-72579
Regression
No
Audio Source stops playing when moved to a scene with LocalPhysicsMode.Physics2D Parameter
Reproduction steps:
1. Open the “ReproProject“ project
2. Enter Play Mode
3. Click the “Play Sound“ button in the Game View
4. Click the “Move to different scene“ button in the Game View
5. Observe the sound
Expected result: The sound is not cut off and continues playing
Actual result: The sound is cut off and does not continue playing
Reproducible with: 2021.3.38f1, 2022.3.30f1, 6000.0.4f1
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Note: Does not reproduce when the Scene is created without the “LocalPhysicsMode.Physics2D” Parameter
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
Currently moving a GameObject to a new physics scene requires that the GameObject goes through an activation cycle (Disable+Enable). In this case going from the default physics scene to a local phsyics scene, created when specifying the phsyics mode in CreateScene.
This is currently very heavy handed, as many components (e.g AudioSource) do not need to do anything special when going into a new physics scene. It is currently a known limitation that has plans to be addressed in future versions of Unity.
Resolution Note (6000.0.X):
Currently moving a GameObject to a new physics scene requires that the GameObject goes through an activation cycle (Disable+Enable). In this case going from the default physics scene to a local phsyics scene, created when specifying the phsyics mode in CreateScene.
This is currently very heavy handed, as many components (e.g AudioSource) do not need to do anything special when going into a new physics scene. It is currently a known limitation that has plans to be addressed in future versions of Unity.