Unity错误:无效的图层ID。请使用图层的唯一ID(与列表中的索引不同)

时间:2018-08-19 13:15:56

标签: c# unity3d

我在Unity上有2D项目(2017.1.3)

当gameObject visible为true时,会连续出现这样的错误

当我看到假的时候它就停止了

请帮助我,我该怎么办?

Invalid layer id. Please use the unique id of the layer (which is not the same as its index in the list).
UnityEngine.Renderer:set_sortingLayerID(Int32)
Anima2D.SpriteMeshInstance:OnWillRenderObject() (at Assets/Anima2D/Scripts/SpriteMeshInstance.cs:419)

0 个答案:

没有答案