在log文件中會記錄着一些信息有時會對我們解決unity報錯等相關問題有很重要的幫助。
我們在請求chatwood客服,社區其他開發者的幫助時最好幫相關的log文件或截圖一並附上問題描述,這樣才能更好的解決問題。
unity hub log:
一般選擇最新日期的用VS或其他軟件打開即可;
在這個文件夾下同樣可以找到 plasticSCM log
打開后一般拉到最下面就可以了解到最近最新的hub信息
UPM log(unity package manager)的參考地址:
Linux
~/.config/unity3d/upm.log
macOS
~/Library/Logs/Unity/upm.log
Windows
C:\Users\username\AppData\Local\Unity\Editor\upm.log
Unity editor log的參考地址:
當然也可以從editor console控制台中點擊Open Editor Log打開
Linux
~/.config/unity3d/Editor.log
macOS
~/Library/Logs/Unity/Editor.log
Windows
C:\Users\username\AppData\Local\Unity\Editor\Editor.log
更多log文件信息參考
https://docs.unity3d.com/Manual/LogFiles.html