Search Issue Tracker

Fixed in 2018.3.8f1

Fixed in 2018.3, 2019.1

Votes

2

Found in

2018.3.0a1

2018.3.0f2

2019.1.0a1

2019.2.0a1

Issue ID

1115957

Regression

Yes

[IL2CPP][Mobile] Undefined reference to 'void RegisterUnityClass<AssetImporterLog> when linking a project with Engine Stripping

Mobile

-

Repro steps:
1. Open attached project
2. Build on Android

Actual: Build fails with "CommandInvokationFailure: Failed to link 'libunity.so'" error:

stderr[
Temp/StagingArea/strip/armeabi-v7a/UnityClassRegistration.cpp:400: error: undefined reference to 'void RegisterUnityClass<AssetImporterLog>(char const*)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
]

Reproducible with: 2018.3.3f1, 2019.1.0a14, 2019.2.0a1
Not reproducible with: 2017.4.18f1

Notes:
- Does repro on Android and iOS with "Strip Engine Code" enabled
- No repro on Mono
- No repro with "Strip Engine Code" turned off
- No repro on Windows/Mac Standalone IL2CPP builds

Fixed in: 2019.2.0a4
Backported to: 2018.3.8f1, 2019.1.0b3

  1. Response avatar

    Resolution Note (fix version 2018.3.8f1):

    Fixed in 2019.2a4

Comments (1)

  1. 328a0086eae60e8f23d79a8c9f56fd6a?d=mm

    unity_aJqj5LLUZWOU2g

    Jan 25, 2019 08:24

    Please fix this!

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.