Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
[Timeline] TimelinePlayable constructor uses JIT method in Mono .NET 3.5 which is invalid for AOT platforms (PS4/Xbox/iOS)
How to reproduce:
1. Create a timeline playable asset.
2. Create a new scene and add a new Playable Director referencing your playable asset.
3. Target & build for any AOT platform.
4. Once deployed onto the AOT platform, observe the console output.
Expected result: No error.
ExecutionEngineException: Attempting to JIT compile method 'System.Collections.Generic.List`1<UnityEngine.IntervalTree`1/Entry<UnityEngine.Timeline.RuntimeElement>>:.ctor ()' while running with --aot-only. at UnityEngine.IntervalTree`1[UnityEngine.Timeline.RuntimeElement]..ctor () [0x00000] in <filename unknown>:0 at UnityEngine.Timeline.TimelinePlayable..ctor () [0x00000] in <filename unknown>:0 at (wrapper managed-to-native)
PlayableAsset returned a null Playable on Instantiate (Filename: C:\buildslave\unity\build\Modules/Director/PlayableDirector.cpp Line: 346)
Regression first introduced in - 2018.3.1f1
Reproducible with - 2018.3.2f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- [Android] Memory leaks ~100mb with each HTTP request until Player crashes on IL2CPP ARMv7 builds
- Item selection is offset below when UIToolkit ListView is set to dynamic height mode
- Script recompilation doesn't trigger automatically when switching build targets
- Text gets pushed to the left when typing in a text field
- "The provided object cannot be assigned a managed reference ID because it cannot be serialized on a [SerializeReference] field." thrown in the Console window when using SerializationUtility.SetManagedReferenceIdForObject with an Enum value