今天在看Google中國在B站的一個視頻<Android 記憶體工具與實踐指南>時發現了一個Unity的隱藏功能.
在Unity 2017.3.0發布時, 更新記錄中提到:
Kernel: Added new argument
-systemallocator. This disables Engine management of allocations, and instead uses system allocations. This is useful when using external tools for memory debugging.
這個引數可以使用系統的記憶體分配, 關閉引擎的記憶體分配.
視頻中給了一個在Android上的使用方法:
為什么說這是一個隱藏功能, 因為除了在Unity 2017.3的更新說明中提了一下之外, 在其他任何地方都幾乎搜索不到資訊, 包括CommandLineArguments的檔案.
要說這個功能有什么用的話, 可以參考這篇文章: 作業記錄-記一次UNITY BUG的定位
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/21368.html
標籤:其他
下一篇:道客檔案下載
