Search Issue Tracker

Active

Votes

7

Found in

2017.4

2019.3.14f1

2020.2

Issue ID

1249609

Regression

No

Application.isPlaying is false when OnEnable is called from a ScriptableObject after entering the Play Mode

Scripting

-

How to reproduce:
1. Open the attached project
2. In the Project Window, select the "New Scriptable Object Sample"
3. Enter the Play Mode

Expected result: Application.isPlaying is true after OnEnable function is called
Actual result: Application.isPlaying is false after OnEnable function is called

Reproducible with: 2017.4.40f1, 2018.4.23f1, 2019.3.14f1, 2020.1.0b9, 2020.2.0a12

Comments (2)

  1. 75d87fa4f30d2a3cd2c3d881739680d7?d=mm

    paulbettner

    Jan 05, 2021 06:53

    I just hit this bug too (and it was AWFUL to track down.) Can we please know whether this is expected behavior or a real bug?

  2. 2b2f93c2309b9afcf19a9639694539e4?d=mm

    Vanilla-Plus

    Nov 01, 2020 08:30

    Still happening in 2020.1.8f1

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.