Copyright © 2026 Unity Technologies
Fixed in 6000.5.0b6
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:
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?)
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?)
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?)
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?)
Issues you vote on will appear here