Search Issue Tracker

Fixed

Fixed in 1.1.22

Votes

0

Found in [Package]

1.1.19

Issue ID

DSTR-68

Regression

No

Unity Action is being rerun when Domain Reload is triggered by a Test

Package: DS - Unity Test Framework

-

How to reproduce:
1. Download and open the attached project 'Action.zip'
2. Open Test Runner (Window > General > Test Runner)
3. Run Test 'TestEnterPlayMode'
4. Observe Test Runner window

Expected result: Unity Action Setup is called once as mentioned in the documentation: https://docs.unity3d.com/Packages/com.unity.test-framework@1.1/manual/reference-actions-outside-tests.html#domain-reloads
Actual result: Unity Action Setup is called multiple times

Reproducible with: 1.1.14, 1.1.16, 1.1.18, 1.1.19 (2019.4.0f1, 2020.1.16f1, 2020.2.0b14, 2021.1.0a3)
Couldn't test with: 2018.4.28f1 (Couldn't downgrade)

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.