Unity implementation in Swift 3 Project: Crash on

2019-06-04 00:42发布

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.

1条回答
等我变得足够好
2楼-- · 2019-06-04 01:14

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.

查看更多
登录 后发表回答