unity版本为5.1.1,在编辑器里运行没问题,build出的windows版运行也没问题,但build出的mac版在个别场景切换时会卡死,通过查看log(查看build版本log的方法参考:http://blog.theknightsofunity.com/accessing-unity-game-logs/),看到最后报出的错误是:

Receiving unhandled NULL exception

如果改成development build,则不会卡死,运行正常。

搜到这个帖子:http://forum.unity3d.com/threads/mac-os-builds-crashing-in-unity-5.316489/

其中问题跟我遇到的一致,讨论结果认为是unity自身的bug。

将unity更新到5.2.1,问题不再出现。

相关文章:

  • 2021-09-14
  • 2021-10-26
  • 2021-12-10
  • 2021-05-18
  • 2021-09-20
  • 2022-01-21
  • 2021-12-22
  • 2021-11-22
猜你喜欢
  • 2021-04-10
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-04
相关资源
相似解决方案