Search Issue Tracker
Fixed
Fixed in 6000.5.0b6, 6000.6.X
Votes
0
Found in
6000.5.0b3
6000.6.0a2
Issue ID
UUM-138914
Regression
No
Importing Unity Physics “Advanced Game Physics Sample” throws compilation errors in the Console
Steps to reproduce:
1. Create new Unity project
2. Open Package Manager
3. Install Unity Physics package
4. Navigate to Unity Physics Samples
5. Find and import “Advanced Game Physics Sample - Chain and Gears” Sample
6. Observe the Console window
\\
Actual results: Errors are thrown in the Console after importing the Sample
Expected results: No errors are thrown in the Console after importing the Sample
\\
Reproducible with versions: 6000.5.0b3, 6000.6.0a2
Can’t test with versions: 6000.4.2f1, 6000.3.13f1 and lower (Sample is not available)
\\
Tested on (OS): macOS Silicon Tahoe 26.3.1 (a) (M1), Ubuntu 24.04
\\
Errors:
{code:java}
Assets/Samples/Unity Physics/6.5.0/Common/Scripts/MouseHoverAuthoring.cs(8,13): error CS0234: The type or namespace name 'Rendering' does not exist in the namespace 'Unity' (are you missing an assembly reference?)
{code}
{code:java}
Library/Bee/artifacts/200b0aEDbg.dag/SystemGenerator/Unity.Entities.SourceGen.SystemGenerator.SystemGenerator/Temp/GeneratedCode/Unity.Physics.Samples.Common/MouseHoverAuthoring__System_878110950.g.cs(8,13): error CS0234: The type or namespace name 'Rendering' does not exist in the namespace 'Unity' (are you missing an assembly reference?)
{code}
{code:java}
Assets/Samples/Unity Physics/6.5.0/Common/Scripts/MouseHoverAuthoring.cs(23,16): error CS0246: The type or namespace name 'MaterialMeshInfo' could not be found (are you missing a using directive or an assembly reference?)
{code}
{code:java}
Assets/Samples/Unity Physics/6.5.0/Common/Scripts/MouseHoverAuthoring.cs(24,16): error CS0246: The type or namespace name 'RenderMeshArray' could not be found (are you missing a using directive or an assembly reference?)
{code}
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
- An "RefreshInternalV2 is called before InitialRefresh" error is thrown when opening a project where a build profile with Player settings added is selected
- MeshCollider preview gizmo disappears from the Scene view when overriding the mesh asset using any 3D editing tool
- Tutorial project is not created when started from the Get set up tab
- Audio Listener Component expands when selected
- [iOS] Frame Debugger rendering output doesn't work with iOS builds
Resolution Note:
Fixed in 6000.5.0b6
Resolution Note (fix version 6000.6):
Fixed in 6000.5.0b6