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
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
Resolution Note (fix version 2018.4):
Fixed in: 2018.4.22f1