Search Issue Tracker

Fixed in 2020.1

Fixed in 2019.3

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

Deployment Management

-

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

Log in to post comment

All about bugs

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