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
- Buttons in the Overlay Menu in the Scene View are all gray even if they're activated when Game View is maximized and minimized
- NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
- Editor crashes on PrepareSpriteTilingData when exiting Play mode
Resolution Note (fix version 2018.4):
Fixed in: 2018.4.22f1