---
title: "我的 UWA 问答"
author: "Perrin Yong"
author_profile: https://www.pystone.net/profile/
published_by: "Perrin Yong"
canonical: https://www.pystone.net/notes/my-uwa-answers/
type: topic
content_role: moc
source_type: "moc"
visibility: public
id_stability: rename-stable
source_path: "10-计算机、信息技术与工程/05-游戏图形与运行时/我的UWA问答/我的UWA问答.md"
content_hash: 71a4a1de8a86cfb6681185cc06cb2b68d42f10cb20cfd96abb4ce5d68df5fc11
knowledge_version: 224c990773de.5fa8af6e39fa
site_commit: 224c990773de166d23a886306577dd90379529ce
notes_commit: 5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a
---
# 我的 UWA 问答

> **note · 来源集合**
> 本页收录我在 UWA 问答公开发表的回答。它们是带时间和上下文的历史技术记录，不自动代表当前结论；复用前应核对 Unity 版本、平台、项目条件与源页后续讨论。

## 收录概况

- 回答涉及问题：61 个
- 被采纳回答：15 个
- 时间范围：2020-06-13 02:16:55 至 2023-02-28 05:59:06
- 原始记录页：[石心.Yong 的 UWA 社区主页](https://community.uwa4d.com/u/1587367106011500546)

## 主题分布

- 资源管理：26 篇
- 终端平台：15 篇
- 渲染模块：13 篇
- 内存管理：9 篇
- Shader：7 篇
- 引擎技术：7 篇
- UI：6 篇
- 性能优化：5 篇
- UGUI：5 篇
- 动画模块：4 篇
- Script：3 篇
- GPU：3 篇
- 项目管理：2 篇
- 性能排查工具：2 篇
- AI：1 篇
- Lua：1 篇
- C#编程：1 篇
- 物理模块：1 篇
- 其他：1 篇

## 2023

- 2023-02-28：[UWA Pipeline](https://www.pystone.net/notes/uwa-answer-pipeline-shell-script-chinese-content/)（性能优化）

## 2022

- 2022-06-07：[有什么方法可以知道打包的时候的一个Shader有多少变体？](https://www.pystone.net/notes/uwa-answer-count-shader-variants-during-build/)（Shader）

## 2021

- 2021-11-12：[UWA本地资源检测 导入本地报错](https://www.pystone.net/notes/uwa-answer-local-resource-check-import-error/)（资源管理）
- 2021-09-30：[关于UWA 资源检查的AnimationState数量过高的AnimatorController 疑问](https://www.pystone.net/notes/uwa-answer-animator-controller-animation-state-count/)（资源管理）
- 2021-09-10：[同一个material，在unity内存统计中却有多个](https://www.pystone.net/notes/uwa-answer-duplicate-materials-in-unity-memory/)（资源管理）
- 2021-09-09：[SkinnedMeshRenderer的uv4存储问题](https://www.pystone.net/notes/uwa-answer-skinned-mesh-renderer-uv4-storage/)（动画模块）
- 2021-09-02：[Update中new struct对象](https://www.pystone.net/notes/uwa-answer-new-struct-in-update/)（内存管理）
- 2021-08-20：[32位的CPU下，程序使用的空间能不能超过4GB呢？](https://www.pystone.net/notes/uwa-answer-32-bit-process-over-four-gigabytes/)（终端平台）
- 2021-08-14：[材质球AssetBundle打包时，纹理会被冗余包含进包内](https://www.pystone.net/notes/uwa-answer-material-asset-bundle-texture-duplication/)（内存管理、资源管理）
- 2021-08-13：[关于resource.unloadasset()资源卸载疑问](https://www.pystone.net/notes/uwa-answer-resources-unload-asset-behavior/)（资源管理、内存管理）
- 2021-08-11：[OnProcessShader回调方法，为什么同一个shader会多次回调此方法？](https://www.pystone.net/notes/uwa-answer-on-process-shader-repeated-callbacks/)（Shader）
- 2021-08-06：[Xcode Archive 内存占用 200G](https://www.pystone.net/notes/uwa-answer-xcode-archive-memory-usage/)（引擎技术、终端平台）
- 2021-08-04：[c#获取的mac地址为00:00:00:00:00:0000EE是为什么](https://www.pystone.net/notes/uwa-answer-invalid-mac-address-from-csharp/)（终端平台）
- 2021-06-28：[关于32位进程最多能分配1.5GB，64位进程最多能分配8TB的问题](https://www.pystone.net/notes/uwa-answer-32-and-64-bit-process-address-space/)（Script）
- 2021-06-09：[Socket.Select的优化方法](https://www.pystone.net/notes/uwa-answer-socket-select-optimization/)（内存管理、引擎技术）
- 2021-06-05：[Live2D平滑渐变方案](https://www.pystone.net/notes/uwa-answer-live2d-smooth-gradient/)（Shader、渲染模块、终端平台）
- 2021-05-29：[动画状态机中AnimationState的数量过多相关问题](https://www.pystone.net/notes/uwa-answer-animation-state-count-performance/)（动画模块、终端平台、性能优化）
- 2021-05-26：[WorldToScreenPoint获取到的屏幕坐标异常](https://www.pystone.net/notes/uwa-answer-world-to-screen-point-invalid-coordinate/)（终端平台、GPU）
- 2021-05-24：[JsonUtility.ToJson 浮点型保留小数问题](https://www.pystone.net/notes/uwa-answer-json-utility-float-precision/)（Script）
- 2021-05-21：[Unity2018.4上材质对贴图的冗余引用是否可以不管？](https://www.pystone.net/notes/uwa-answer-unity-material-texture-redundancy/)（Shader、资源管理、渲染模块）
- 2021-05-18：[unity里 Api Compatibility Level .net 4.x 与 .netstandard 2.0 的区别是什么呢](https://www.pystone.net/notes/uwa-answer-api-compatibility-level-net-standard/)（引擎技术）
- 2021-05-14：[TimeLine 的 Internal_CreatePlayable 开销很大](https://www.pystone.net/notes/uwa-answer-timeline-internal-create-playable-cost/)（引擎技术）
- 2021-05-14：[loading.checkconsistency editor only 编辑器上这个比较耗时，请问是做什么的，如何优化](https://www.pystone.net/notes/uwa-answer-loading-check-consistency-editor-cost/)（资源管理）
- 2021-05-13：[游戏性能卡顿](https://www.pystone.net/notes/uwa-answer-game-performance-stutter-diagnosis/)（渲染模块、Lua）
- 2021-05-13：[Addressables.LoadSceneAsync 怎么获取加载进度](https://www.pystone.net/notes/uwa-answer-addressables-load-scene-progress/)（资源管理、终端平台）
- 2021-05-13：[Unity2019或者更高版本，有没有办法把二维坐标（无y值） 转换到 NavMesh上的点。](https://www.pystone.net/notes/uwa-answer-navmesh-point-from-two-dimensional-coordinate/)（资源管理、AI）
- 2021-05-11：[UGUI 动态加载Item DrawCall问题](https://www.pystone.net/notes/uwa-answer-ugui-dynamic-item-draw-call/)（UGUI、渲染模块）
- 2021-05-11：[本地删除FBX的DefaultMaterial在unity重启后无效](https://www.pystone.net/notes/uwa-answer-fbx-default-material-persists-after-restart/)（内存管理）
- 2021-05-09：[自己如何实现MeshRender 的效果](https://www.pystone.net/notes/uwa-answer-implement-mesh-renderer-effect/)（引擎技术、资源管理、动画模块、渲染模块）
- 2021-05-07：[Unity宏定义问题](https://www.pystone.net/notes/uwa-answer-unity-conditional-compilation-symbols/)（引擎技术）
- 2021-05-07：[DirectoryNotFoundException: Could not find a part of the path](https://www.pystone.net/notes/uwa-answer-directory-not-found-exception/)（资源管理、项目管理）
- 2021-05-07：[UGUI.Rendering.UpdateBatches较高](https://www.pystone.net/notes/uwa-answer-ugui-update-batches-cost/)（UGUI）
- 2021-05-02：[关于Legacy动画压缩精度到3位后Unity在Rotaiton曲线中产生自动补帧的问题](https://www.pystone.net/notes/uwa-answer-legacy-animation-compression-rotation-frames/)（资源管理）
- 2021-04-30：[UI在使用SpriteAtlas时的原理，以及打AB包的时候SpriteAtlas的“冗余”问题](https://www.pystone.net/notes/uwa-answer-sprite-atlas-asset-bundle-duplication/)（资源管理、UI、UGUI）
- 2021-04-28：[关于mesh占用内存的问题](https://www.pystone.net/notes/uwa-answer-mesh-memory-usage/)（资源管理）
- 2021-04-27：[Profiler中的JobAlloc.Overflow的占用是什么原因呢？](https://www.pystone.net/notes/uwa-answer-profiler-job-alloc-overflow/)（Shader、资源管理、UI、渲染模块、性能优化、终端平台、GPU）
- 2021-04-23：[URP的BRDF计算的疑惑，与论文中的公式不一样？](https://www.pystone.net/notes/uwa-answer-urp-brdf-formula-difference/)（终端平台、渲染模块）
- 2021-04-14：[Unity editor模式不运行游戏的情况下，内存加载的图片导致游戏图集加载错误](https://www.pystone.net/notes/uwa-answer-editor-loaded-texture-atlas-conflict/)（项目管理、资源管理、内存管理）
- 2021-04-09：[Unity 3D场景UI被打断合批的原因？](https://www.pystone.net/notes/uwa-answer-unity-world-space-ui-batching-break/)（UI、渲染模块）
- 2021-04-09：[TMP文字一运行渲染位置会向下偏移，postion没有变化，稍微动一下就会恢复正常，怎么回事？](https://www.pystone.net/notes/uwa-answer-text-mesh-pro-position-offset/)（UI、渲染模块）
- 2021-03-26：[如何优化UI中大量使用SetActive(true)/(false)](https://www.pystone.net/notes/uwa-answer-optimize-frequent-set-active-ui/)（UI、资源管理、UGUI、终端平台）
- 2021-03-24：[Shader Graph做的Shader，属性值都是随机的比如_basecolor这种，怎么赋值呢](https://www.pystone.net/notes/uwa-answer-set-shader-graph-generated-properties/)（Shader）
- 2021-03-24：[为什么 ASTC压缩打出的APK包体 大于采用ETC2压缩打出的APK](https://www.pystone.net/notes/uwa-answer-astc-apk-larger-than-etc2/)（资源管理）
- 2021-03-23：[关于AssetBundle加载方式的适用环境](https://www.pystone.net/notes/uwa-answer-asset-bundle-loading-methods/)（内存管理）
- 2021-03-18：[想要实现网格线的效果，但是远处的线会花，是什么原因？](https://www.pystone.net/notes/uwa-answer-distant-grid-line-aliasing/)（资源管理）
- 2021-03-17：[Unity内存如何在退出时释放](https://www.pystone.net/notes/uwa-answer-release-unity-memory-on-exit/)（终端平台）
- 2021-03-17：[lightmap 在内存中有重复加载](https://www.pystone.net/notes/uwa-answer-duplicate-lightmap-memory-loading/)（渲染模块、资源管理）
- 2021-03-10：[Unity Jobsystem问题](https://www.pystone.net/notes/uwa-answer-unity-job-system-issue/)（C#编程）
- 2021-03-09：[倾斜视角的透视相机算3d空间里的物体对应屏幕边界](https://www.pystone.net/notes/uwa-answer-perspective-camera-screen-boundary/)（终端平台）
- 2021-03-05：[Profiler Detailed内存中NotSaved/AssetBundles和Other/SerializedFile有什么区别](https://www.pystone.net/notes/uwa-answer-profiler-asset-bundles-serialized-file-memory/)（资源管理、内存管理、终端平台）
- 2021-02-23：[线性空间 动作文件控制材质球颜色失真问题](https://www.pystone.net/notes/uwa-answer-linear-color-space-animation-material-color/)（资源管理、渲染模块）
- 2021-02-22：[在某些安卓机型上出现画面抽搐的现象](https://www.pystone.net/notes/uwa-answer-android-visual-jitter/)（渲染模块、动画模块、物理模块）
- 2021-02-21：[没有引用内置shader情况下shaderlab占用仍较大](https://www.pystone.net/notes/uwa-answer-shaderlab-memory-without-built-in-shaders/)（Shader）

## 2020

- 2020-12-04：[本地资源检测，特效检测中overdraw相关问题](https://www.pystone.net/notes/uwa-answer-effect-overdraw-in-local-resource-check/)（终端平台）
- 2020-11-05：[贴图Alpha通道的对图片大小的影响](https://www.pystone.net/notes/uwa-answer-alpha-channel-image-size/)（资源管理）
- 2020-09-05：[unity的颜色线性空间下randTexture单个像素的色值大于shader的输出值的困惑](https://www.pystone.net/notes/uwa-answer-linear-color-space-render-texture-value/)（GPU、渲染模块、性能优化、终端平台、性能排查工具）
- 2020-06-23：[unity纹理旋转造成的锯齿](https://www.pystone.net/notes/uwa-answer-rotated-texture-aliasing/)（资源管理、UI、UGUI）
- 2020-06-18：[Newtonsoft Json反序列化耗时太长](https://www.pystone.net/notes/uwa-answer-newtonsoft-json-deserialization-performance/)（Script、资源管理）
- 2020-06-13：[unity自身GC和.net的GC如何协调工作的](https://www.pystone.net/notes/uwa-answer-unity-and-dotnet-garbage-collection/)（内存管理）
- 2020-06-13：[使用Unity的Profile工具查看内存问题，上面有个save按钮，保存后是一个.data结尾的文件。请问这个文件怎么查看呢？怎么打开](https://www.pystone.net/notes/uwa-answer-open-unity-profiler-data-file/)（性能优化、性能排查工具）
- 2020-06-13：[Unity 2018.4 在 iOS 上压缩贴图用的是哪个可执行文件？](https://www.pystone.net/notes/uwa-answer-unity-ios-texture-compression-executable/)（资源管理、引擎技术、其他）
