Objective D
Objective D

Reputation: 809

Unity implementation in Swift 3 Project: Crash on app launch - MetadataCache::Initialize()

Hello fellow programmers,

I need to implement an exported Unity project to my native Swift project, so I followed the instructions of this tutorial:

https://github.com/blitzagency/ios-unity5

Unfortunately, the app crashes on app launch. I took a screenshot of my debug navigator:

enter image description here

I found this thread and followed every advice, but I cannot get it running. I would be very glad to see a working example:

https://forum.unity3d.com/threads/il2cpp-anyone-else-seeing-metadatacache-initialize-crashes-sometimes-when-the-game-starts.383145/

Thanks in advance.

Upvotes: 1

Views: 303

Answers (1)

Objective D
Objective D

Reputation: 809

I fixed it. The tutorial says to remove the references of all ".h files" in Unity/Classes/Native/, but I accidently deleted all of them.

Upvotes: 1

Related Questions