unity报“GetLocalizedString can only be called from the main thread.”错误。

    xiaoxiao2026-05-08  0

    unity版本5.3.4,场景单独运行没有问题,跳转时报“GetLocalizedString can only be called from the main thread.”错误。错误的意思是获取局部字符串只能从主线程调用。

    但是改变跳转方式也没有解决,这里有两个类似的问题:

    http://answers.unity3d.com/questions/995185/applicationloadlevel-argumentexception.html.  

     http://zhanyuebaobei.blog.51cto.com/10966095/1720403

    把场景中的地形和树木做成预制代码加载,缺一不可,错误不再提示。推测是unity自带刷的地形和制作的树木设置有问题。

    转载请注明原文地址: https://ju.6miu.com/read-1309476.html
    最新回复(0)