Search Issue Tracker

Fixed in 0.10.0-preview.6

Votes

0

Found in [Package]

0.3.0-preview.4, 0.5.1-preview.11

Issue ID

1209642

Regression

No

[ECS] [IL2CPP] Error in IL2CPP when enabling a subscene script between the first scene load and MoveEntitiesFrom call

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open the attached project ("case_1209642-SubScene-AOT.zip")
2. Open the repro scene ("SampleScene")
3. Run and Build the project

Expected results: No errors are thrown
Actual results: "ExecutionEngineException" error is thrown, saying that "no ahead of time (AOT) code was generated."

Reproducible with: 2019.3.0f6, 2020.1.0a22
Couldn't test up to 2019.3 (ECS does not support backward compatibility)
Reproducible with package versions: 0.3.0-preview.4, 0.5.1-preview.11

Notes:
1. The issue does not reproduce if all sub-scenes have SubScene script enabled from the start
2. Does not reproduce on Mono backend

Add comment

Log in to post comment