---
title: "关于UWA 资源检查的AnimationState数量过高的AnimatorController 疑问"
author: "石心.Yong"
published_by: "Perrin Yong"
canonical: https://www.pystone.net/notes/uwa-answer-animator-controller-animation-state-count/
type: note
content_role: source
source_type: "source"
visibility: public
id_stability: rename-stable
source_path: "10-计算机、信息技术与工程/05-游戏图形与运行时/我的UWA问答/2021-09-30 - 关于UWA 资源检查的AnimationState数量过高的AnimatorController 疑问.md"
content_hash: 0d2c7c697ea629e01c546422563b0e2e9f350ae6ca5897bcfea6263bf20d0f9e
knowledge_version: 224c990773de.5fa8af6e39fa
site_commit: 224c990773de166d23a886306577dd90379529ce
notes_commit: 5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a
---
# 关于UWA 资源检查的AnimationState数量过高的AnimatorController 疑问

> **note · 我的 UWA 问答**
> 本文收录我在 UWA 问答发表的公开回答。问题内容归原提问者；回答保留当时语境，技术结论可能受 Unity 版本、平台和项目条件限制。

## 问题

在自己项目中，有多个AnimatorController， 也创建了很多AnimationState，但是在检测报告中，显示通过，好奇UWA是如何检测该检查项的

- 提问者：Ansley
- 提问时间：2021-09-29 22:55:57

## 我的回答

这条规则描述上和实现上没有统一哈，后面的版本会修复。

实现上检测的是赋值了AnimationClip的AnimationState数量。

理论上即使没有赋值AnimationClip，AnimationState数量过大也会增加CPU压力的。

- 回答时间：2021-09-30 02:50:39
- 最后更新：2021-09-30 02:50:39
- 采纳状态：未采纳

## 来源与关系

- 上位集合：[我的 UWA 问答](https://www.pystone.net/notes/my-uwa-answers/)
- UWA 标签：资源管理
- 原始问题：[关于UWA 资源检查的AnimationState数量过高的AnimatorController 疑问](https://answer.uwa4d.com/question/61540dfd8f8c834241c22b33)
- 源页最后更新：2021-09-30 02:50:39
