Search Issue Tracker

Active

Under Consideration for 1.3.X

Votes

0

Found in [Package]

1.3.2 - Entities

Issue ID

ECSB-1433

Regression

No

[Android] [iOS] [IL2CPP] The application crashes when loading a subscene with a Baker that adds a Prefab using a VisualEffect component

Package: Entity Component System (ECS)

-

How to reproduce:
1. Open the “VisualEffect-Entity-crash.zip“ project
2. Open the “SampleScene“
3. Build and Run for Android
4. Wait for a few seconds

Expected result: No crash
Actual result: The app will crash after the “Can't add component because '[UNREGISTERED]' is not derived from Component.“ error

Reproducible with: 1.3.2 (2022.3.54f1), 1.4.2 (2022.3.54f1, 6000.0.30f1), 1.4.3 (6000.0.30f1, 6000.1.0a7)
Could not test with: 2021.3.46f1 (Entities Graphics (com.unity.entities.graphics) not supported)

Reproducible environment: macOS 15.1.1 (Intel), Windows 11 (Reporters)
Not reproducible environment: No other environment tested

Reproducible with these devices:
VLNQA00511, Samsung Galaxy S8 (SM-G950F), Android 9, CPU: Exynos 9 Octa 8895, GPU: Mali-G71
VLNQA00518, Google Pixel 4 (Pixel 4), Android 13, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00107, Huawei Nexus 6P (Nexus 6P), Android 8.1.0, CPU: Snapdragon 810 MSM8994, GPU: Adreno (TM) 430
VLNQA00335, Samsung Galaxy S20+ 5G (SM-G986B), Android 10, CPU: Exynos 990, GPU: Mali-G77
VLNQA00416, iPhone 13 Pro (MLVA3ET/A), CPU: Apple A15 Bionic, GPU: Apple designed, OS: 16.1.1
VLNQA00626, iPhone 16 (MYE73QN/A), CPU: Apple A18 Pro, GPU: Apple designed, OS: 18.0.1
VLNQA00600,  iPad Pro (9.7 inch, WiFi), CPU: Apple A9X, GPU: Apple designed, OS: 14.8

Notes:
- Not reproducible in the Editor and Standalone
- Reproducible only with IL2CPP scripting backends, not reproducible with Mono ARMv7 scripting backend
- Reproducible with both Vulkan and OpenGLES3 Graphic APIs
- The first scene contains an entity subscene with a Baker that adds a Prefab using a VisualEffect component to the subscene. When loaded in a player with enabled UintyEngine stripping, the scene will crash with the following error: “Can't add component because '[UNREGISTERED]' is not derived from Component.“

5 lines of the Backtrace:
#00 pc 0000000000d44bb4 /data/app/com.UnityTechnologies.com.unity.template.urpblank-kNZ6sF6zaui3lqgFWFmAng==/lib/arm64/libunity.so (VisualEffect::UpdateRenderer()+72) (BuildId: a52b5aff97c38a34)
#01 pc 0000000000d45794 /data/app/com.UnityTechnologies.com.unity.template.urpblank-kNZ6sF6zaui3lqgFWFmAng==/lib/arm64/libunity.so (VisualEffect::AwakeFromLoad(AwakeFromLoadMode)+112) (BuildId: a52b5aff97c38a34)
#02 pc 000000000096609c /data/app/com.UnityTechnologies.com.unity.template.urpblank-kNZ6sF6zaui3lqgFWFmAng==/lib/arm64/libunity.so (AwakeFromLoadQueue::InvokeAwakeFromLoad(AwakeFromLoadQueue::Item*, unsigned int, AwakeFromLoadMode)+156) (BuildId: a52b5aff97c38a34)
#03 pc 0000000000965f70 /data/app/com.UnityTechnologies.com.unity.template.urpblank-kNZ6sF6zaui3lqgFWFmAng==/lib/arm64/libunity.so (AwakeFromLoadQueue::AwakeFromLoadAllQueues(AwakeFromLoadMode, bool)+96) (BuildId: a52b5aff97c38a34)
#04 pc 00000000006242e4 /data/app/com.UnityTechnologies.com.unity.template.urpblank-kNZ6sF6zaui3lqgFWFmAng==/lib/arm64/libunity.so (AwakeAndActivateClonedObjects(Object**, vector_map<int, int, std::__ndk1::less<int>, stl_allocator<std::__ndk1::pair<int, int>, (MemLabelIdentifier)1, 16> > const&)+384) (BuildId: a52b5aff97c38a34)
#05 pc 0000000000624734 /data/app/com.UnityTechnologies.com.unity.template.urpblank-kNZ6sF6zaui3lqgFWFmAng==/lib/arm64/libunity.so (CloneObject(Object&)+320) (BuildId: a52b5aff97c38a34)

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.