Search Issue Tracker

Active

Under Consideration for 1.3.X, 1.4.X

Votes

0

Found in [Package]

1.3.10 - Entities

1.4.X - Entities

Issue ID

ECSB-1605

Regression

No

NullReferenceException error appears in the Console when uniformly scaling a cube that is in a Subscene to a negative value

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open the command line interface
2. Launch the attached “IN-96035” project using the command provided in the note below
3. Open the “SampleScene” Scene
4. In the Hierarchy window make sure the “New Sub Scene” Subscene is enabled
5. Select one of the “Cube” GameObjects in the Hierarchy window from the “New Sub Scene” Subscene
6. In the Scene view select the Scale tool and scale the cube uniformly until the Scale X, Y and Z properties in the Inspector “Transform” component reach a negative value
7. Observe the Console window

Expected result: No errors appear
Actual result: 2 “NullReferenceException” errors appear

Reproducible with: 1.2.0(2022.3.59f1), 1.3.8(2022.3.59f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6), 1.3.10(2022.3.59f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6)

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Notes:
- Run this command from the <UnityEditorPath> directory where Unity.exe is located: {{Unity.exe -projectPath "<ProjectPath>" -debugallocator -systemallocator}}

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.