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

3D Physics

-

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}

  1. Resolution Note:

    Fixed in 6000.5.0b6

  2. Resolution Note (fix version 6000.6):

    Fixed in 6000.5.0b6

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.