Search Issue Tracker

Active

Under Consideration for 0.1.X

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:*
# Create a new Unity project
# Open the Package Manager
# Install the *com.unity.vehicles * package
# Select the Vehicles package and open the Samples tab
# Import the Advanced Vehicle Sample
# In the Project window, open the AdvancedVehicleScene
# In the Hierarchy, select the AdvancedVehicleSubscene GameObject
# In the Inspector, ensure Auto Load Scene is disabled
# Enter Play Mode
# Manually enable the Load Scene checkbox
# Then disable it
# Enable it again
# 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.