Search Issue Tracker

Active

Votes

0

Found in [Package]

1.9.4

Issue ID

UVSB-2572

Regression

No

Visual Scripting "OnEnterState" method is called before C# "Awake" when entering Play mode

Package: Visual Scripting

-

How to reproduce:
1. Open the attached “IN-86188“ project
2. Open the “Test Scene“
3. Enter Play mode
4. Observe the Console window

Expected result: “C# Awake” message gets printed before “VS Enter!”
Actual result: “VS Enter” is printed first

Reproducible in: 1.9.4 (2021.3.45f1, 2022.3.51f1, 6000.0.24f1, 6000.1.0a1)

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

Workaround: Duplicating an entity affected by the bug or rearranging its Components fixes the scripts execution order

Note: Could not test for regression. Unfixable exceptions are spit after downgrading the package.

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.