-
Notifications
You must be signed in to change notification settings - Fork 456
Closed
Labels
stat:importedStatus - Issue is tracked internally at UnityStatus - Issue is tracked internally at Unitytype:docsDocs feedback or issueDocs feedback or issue
Description
Hi there!
I encounter the following error on mobile when serializing a derived class. This only seems to happen on mobile (iOS, haven't tested Android yet), and works fine on other platforms:
ExecutionEngineException: Attempting to call method 'DanielLochner.Assets.CreatureCreator.AttachedLimb::Serialize<Unity.Netcode.BufferSerializerWriter>' for which no ahead of time (AOT) code was generated. Consider increasing the --generic-virtual-method-iterations=1 argument
Here is a link to the script:
https://github.com/daniellochner/creature-creator-game/blob/main/Assets/CreatureCreator/Scripts/Runtime/Data/AttachedBodyParts/AttachedLimb.cs
Metadata
Metadata
Assignees
Labels
stat:importedStatus - Issue is tracked internally at UnityStatus - Issue is tracked internally at Unitytype:docsDocs feedback or issueDocs feedback or issue