Search Issue Tracker

Active

Votes

1

Found in

2020.3.46f1

Issue ID

UUM-32703

Regression

No

InvalindOperationException when using ECS Physics Shape with Shape Type set to "Mesh"

--

-

How to reproduce:
1. Download and open the attached project
2. Select the "SampleSubScene" in the Hierarchy window
3. Add a "Physics Shape" component
4. Set "Shape type" to "Mesh"
5. Observe the console window

Expected outcome: No errors appear
Actual outcome: "The targets array should not be used inside OnSceneGUI or OnPreviewGUI. Use the single target property instead." and "InvalidOperationException" errors appear

Reproducible with: 2020.3.46f1, 2021.3.21f1, 2022.2.11f1, 2023.1.0b8, 2023.2.0a6

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.