Search Issue Tracker

Active

Votes

0

Found in

1.0.0

Issue ID

UUM-122753

Regression

No

The coroutine still executes for one frame and throws a NullReferenceException when it’s stopped from EditorApplication.update

Editor Coroutines

-

How to reproduce:
1. Open the project “121530_Coroutine Bug”
2. Open the Test Runner tab (Window → General → Test Runner)
3. Run the “TestEditorCoroutine” test
4. Observe the Console and Test Runner tabs

Expected result: Test passes without an error in the Console tab
Actual result: Test passes with the NullReferenceException error in the Console tab

Reproducible with: 2023.1.0a1, 6000.0.60f1 (61dfb374e36f), 6000.2.9f1, 6000.3.0b7, 6000.4.0a3

Reproducible on: Windows 11
Not reproducible on: No other environments tested

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.