Search Issue Tracker
Fixed in 2019.3.X
Votes
1
Found in
2019.1.0b9
Issue ID
1144837
Regression
No
[EntityComponentSystemSamples][IL2CPP] MissingMethodException: Constructor on type 'GameObjectConversionMappingSystem' not found
Reproduction steps:
1. Download the "EntityComponentSystemSamples" project from https://github.com/Unity-Technologies/EntityComponentSystemSamples
2. Build "SceneSwitcher" and "HelloCube_05_SpawnFromMonoBehaviour" scenes using IL2CPP scripting backend.
3. Play the build.
4. Check the logs.
Actual behavior:
- The scene doesn't play and errors are shown.
- Some critical parts of the project are stripped when building to IL2CPP.
- I think link.xml file should be updated to prevent stripping.
- The issue is specific to the project and most likely not related to Unity.
Reproduced with:
iOS(IL2CPP) and macOS(IL2CPP)
Not reproducible with:
iOS(Mono) and macOS(Mono)
Error message:
MissingMethodException: Constructor on type 'GameObjectConversionMappingSystem' not found.
at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00000] in <00000000000000000000000000000000>:0
at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Entities.World.CreateSystemInternal (System.Type type, System.Object[] constructorArguments) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Entities.World.CreateSystem[T] (System.Object[] constructorArgumnents) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Entities.GameObjectConversionUtility.CreateConversionWorld (Unity.Entities.World dstEntityWorld, Unity.Entities.Hash128 sceneGUID, Unity.Entities.GameObjectConversionUtility+ConversionFlags conversionFlags) [0x00000] in <00000000000000000000000000000000>:0
at Unity.Entities.GameObjectConversionUtility.ConvertGameObjectHierarchy (UnityEngine.GameObject root, Unity.Entities.World dstEntityWorld) [0x00000] in <00000000000000000000000000000000>:0
at Samples.HelloCube_05.HelloSpawnMonoBehaviour.Start () [0x00000] in <00000000000000000000000000000000>:0
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
Add comment