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
- "Create Empty Child" Option Creates Root Object When No Parent Is Selected
- Freeze/Crash when entering Play Mode in a specific project
- Lack of documentation regarding VFX Ray Tracing support
- Shader properties do not appear on the GameObject when switching ShaderGraphs during runtime in the Player
- Multiple '-' symbols are allowed to appear in a row when inputting '.' into a non-decimal numeric field
Resolution Note (fix version 2018.4):
Fixed in: 2018.4.22f1