1. 程式人生 > 實用技巧 >Not allowed to access normals on mesh ‘Combined Mesh (root: scene)‘ (isReadable is false...報錯解決方法

Not allowed to access normals on mesh ‘Combined Mesh (root: scene)‘ (isReadable is false...報錯解決方法

  Unity播放時如果出現的“Not allowed to access normals on mesh ‘Combined Mesh (root: scene)’ (isReadable is false; Read/Write must be enabled in import settings)
UnityEngine.Mesh:get_normals()”報錯,播放會被中斷,其解決方法是取消某些物體的靜態(Static)設定!

在這裡插入圖片描述

  設定靜態是為了烘焙之需,一旦烘焙完畢,取消靜態設定,是不會影響已經烘焙好的光影圖,希望小姐姐的經驗對您有所幫助。點選我的頭像去主頁閱讀小姐姐更多的文章。