Search Issue Tracker

In Progress

Fix In Review for 0.1.1-exp.1 - Vehicle Controller

Votes

0

Found in [Package]

0.1.0-exp.10 - Vehicle Controller

Issue ID

ECSB-1702

Regression

No

ArgumentException Thrown When Toggling Subscene Load State at Runtime

Package: Unity Vehicles

-

Steps to reproduce:

  1. Create a new Unity project
  2. Open the Package Manager
  3. Install the com.unity.vehicles package
  4. Select the Vehicles package and open the Samples tab
  5. Import the Advanced Vehicle Sample
  6. In the Project window, open the AdvancedVehicleScene
  7. In the Hierarchy, select the AdvancedVehicleSubscene GameObject
  8. In the Inspector, ensure Auto Load Scene is disabled
  9. Enter Play Mode
  10. Manually enable the Load Scene checkbox
  11. Then disable it
  12. Enable it again
  13. Observe the Console

\\
Actual results: The following exception is thrown in the Console:
{code:java}
ArgumentException: System.ArgumentException: The entity does not exist.System.String Unity.Entities.EntityComponentStore::AppendDestroyedEntityRecordError(Unity.Entities.Entity)
This Exception was thrown from a function compiled with Burst, which has limited exception support
{code}

Expected results: Toggling the subscene load state during runtime should not trigger an exception. The entity management system should handle state transitions without throwing errors.

\\
Reproducible with versions: 0.1.0-exp.10 (6000.2.0b3)

\\
Tested on (OS): Windows 11

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.