Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2018.4.X, 2019.3.X
Votes
0
Found in
2019.3.0a8
2019.3.0a12
Issue ID
1176672
Regression
Yes
Errors appear on build and run with IL2CPP while loading properties package
To reproduce:
1. Open attached project by QA "1176672withscript.zip"
2. Change scripting backend to IL2CPP
3. Build and run
Note:
User reproduces the issue when adding entities package. The main issue caused by com.unity.properties.
Actual result: it should build without errors
Expected result: errors appear when building with IL2CPP
Reproduced on: 2019.3.0a8; 2019.3.0a12; 2020.1.0a1
No repro on 2019.3.0a7
Note: Errors do not appear with Mono
Errors:
IL2CPP error for method 'System.Void NewBehaviourScript/Repro`1::GetPropertyAtIndex(TContainer&,TGetter)' in NewBehaviourScript.cs:15
Additional information: Unable to retrieve the runtime generic context for 'NewBehaviourScript/ICollectionElementGetter`1<TContainer>'.
Failed running C:\Program Files\2019.3\2019.3.0a8_8ea4afdbfa47\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --compile-cpp --libil2cpp-static --platform="WindowsDesktop" --architecture="x86" --configuration="Release" --outputpath="C:\Users\martyna\Downloads\case_1176672-il2cpp\Temp/StagingArea/Data\Native\GameAssembly.dll" --cachedirectory="C:\Users\martyna\Downloads\case_1176672-il2cpp\Assets\..\Library/il2cpp_cache" --profiler-report --map-file-parser="C:/Program Files/2019.3/2019.3.0a8_8ea4afdbfa47/Editor/Data/Tools/MapFileParser/MapFileParser.exe" --directory=C:/Users/martyna/Downloads/case_1176672-il2cpp/Temp/StagingArea/Data/Managed --generatedcppdir=C:/Users/martyna/Downloads/case_1176672-il2cpp/Temp/StagingArea/Data/il2cppOutput
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The "Add Component" context menu root level has a parent when is reopened after selecting a Component
- [Android] Crash on memcpy when building for Android Platform
- Cannot create DropdownField with nested choices when using UIToolkit
- Lightmaps are baked incorrectly for GameObjects when their Position is <=-2048 or >=2048 on any of the coordinates
- Sahder errors in Player when "Strict shader variant matching" is enabled and the rendering path is set to "Deferred"
Resolution Note (fix version 2018.4):
Fixed in: 2018.4.22f1