Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

1.8.0

Issue ID

UVSB-2506

Regression

No

"MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it" error after exiting the Play Mode and triggering the OnExitState Node

Package: Visual Scripting

-

Reproduction steps:
1. Open the attached "repro_IN-47748.zip" project
2. Open the “ErrorTest“ Scene
3. Enter the Play Mode
4. Wait for around 10 seconds (as you need to allow for the game's internal processes, such as updates, to run before ending the Play Mode)
5. Exit the Play Mode

Expected result: There are no errors in the Console
Actual result: "MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it" error appears in the Console

Reproduced with: 1.5.0 (2021.1.0a1), 1.8.0 (2021.3.29f1, 2022.3.6f1, 2023.1.6f1, 2023.2.0b2)

Reproduced on: Windows 10

Note: If the error doesn’t appear after the first iteration of Play Mode, try a few more times

  1. Resolution Note:

    Thank you for bringing this issue to our attention. Unfortunately, after careful consideration we will not be addressing your issue at this time, as we are currently committed to resolving other higher-priority issues.
    With the delivery of our latest release, we are now focusing on investigations and discovery to better determine how UVS needs to evolve to deliver on our broader goals, as well as being the right solution for future production needs. However, we know each case is different, so do please continue to log any issues you find, as well as provide general feedback here to help us prioritize

    https://unity.com/roadmap/unity-platform/gameplay

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.