Search Issue Tracker

Fixed in 2019.2

Fixed in 2018.3, 2019.1

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

IL2CPP

-

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)

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.