Search Issue Tracker
Fixed in 2019.2.X
Fixed in 2018.3.X, 2019.1.X
Votes
0
Found in
2018.3.0a1
2018.3.0b11
2019.1.0a1
Issue ID
1103142
Regression
No
[IL2CPP] Build fails with abstract methods and generics
Steps to reproduce:
1. Download attached project
2. Build standalone player with IL2CPP backend
Expected results: project successfully builds with IL2CPP backend
Actual results: project build fails
Reproduced with: 2019.1.0a13, 2018.3.1f1
Not reproducible with mono backend.
stdout:
WARNING: Cannot add extra type Unity.Entities.JobProcessComponentDataExtensions+JobStruct_Process2`3[Unity.Rendering.LODGroupSystem+LODGroupJob,Unity.Rendering.MeshLODGroupComponent,Unity.Rendering.ActiveLODGroupMask]. Skipping.
WARNING: Cannot add extra type Unity.Entities.JobProcessComponentDataExtensions+JobStruct_Process2`3[Unity.Rendering.LODGroupSystem+HLODGroupJob,Unity.Rendering.MeshLODGroupComponent,Unity.Rendering.ActiveLODGroupMask]. Skipping.
WARNING: Cannot add extra type Unity.Entities.JobProcessComponentDataExtensions+JobStruct_Process3`4[Unity.Rendering.MeshRenderBoundsUpdateSystem+BoundsJob,Unity.Rendering.MeshRenderBounds,Unity.Transforms.LocalToWorld,Unity.Rendering.WorldMeshRenderBounds]. Skipping.
IL2CPP error for type 'Realmforge.BraveNewWorld.Rendering.RenderProperties.IntRenderProperty`1' in assembly 'C:\Users\sarunas\Downloads\case_1103142-il2cpp\Temp\StagingArea\Data\Managed\Assembly-CSharp.dll'
Additional information: Build a development build for more information. Invalid method 'null' found in vtable for 'Realmforge.BraveNewWorld.Rendering.RenderProperties.IntRenderProperty`1'
il2cpp.exe didn't catch exception: System.Exception: Invalid method 'null' found in vtable for 'Realmforge.BraveNewWorld.Rendering.RenderProperties.IntRenderProperty`1'
at Unity.IL2CPP.Metadata.VTableBuilder.ValidateAllMethodSlots(TypeDefinition typeDefinition, IEnumerable`1 slots)
at Unity.IL2CPP.Metadata.VTableBuilder.VTableForType(TypeDefinition typeDefinition, Dictionary`2 interfaceOffsets, Int32 currentSlot)
at Unity.IL2CPP.Metadata.VTableBuilder.VTableFor(TypeReference typeReference, TypeResolver resolver)
at Unity.IL2CPP.Metadata.MetadataCollector.AddVTables(IEnumerable`1 types)
at Unity.IL2CPP.Metadata.MetadataCollector.AddAssemblies(ICollection`1 assemblies)
at Unity.IL2CPP.AssemblyConverter.Apply()
at Unity.IL2CPP.AssemblyConverter.ConvertAssemblies(IEnumerable`1 assemblyDirectories, IEnumerable`1 explicitAssemblies, NPath outputDir, NPath dataFolder, NPath symbolsFolder, NPath executableAssembiesFolder, NPath monoLibFolder, NPath monoEtcFolder, NPath[] searchDirectories, String entryAssemblyName, NPath[] extraTypesFiles)
at il2cpp.Program.DoRun(String[] args)
at il2cpp.Program.Run(String[] args)
at il2cpp.Program.Main(String[] args)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Add comment