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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment