Home > Software engineering >  Using UnityEngine.Animations.Rigging; not found
Using UnityEngine.Animations.Rigging; not found

Time:04-24

My Unity project has the Animation Rigging Package. As we all know if we write a script where we need to reference some kind of Rig we must use the namespace/using direction for this package. Here is my question. What if I need to reference a Rig in another namespace? The script is now unable to find the using direction for it? Any solutions or ideas on this?

Thanks for your input.

using System.Collections;
using System.Timers;
using OutrunUndeath.Scripts.Characters.Player.Bombs;
using OutrunUndeath.Scripts.Constants;
using OutrunUndeath.Scripts.Handlers.Characters;
using OutrunUndeath.Scripts.Handlers.DamageHandlers;
using OutrunUndeath.Scripts.Managers;
using OutrunUndeath.Scripts.Obstacles;
using OutrunUndeath.Scripts.UiPanles.GamePanels.PlayerHud;
using UnityEngine;
using UnityEngine.InputSystem;
using UnityEngine.Animations.Rigging; // not found

namespace OutrunUndeath.Scripts.Characters.Player {  

CodePudding user response:

try using "using UnityEditor.Animations.Rigging;"

CodePudding user response:

As always in programming, it was human failure. I forgot to assign the animation Rigging Utils to the right Assembly Definition.

  • Related