OrionCharacter is actually not the class name, itâs a variable name, because :ExecuteUbergraph_OrionAnimBP:039D implies that youâre trying to use that variable in the ABP graph but that itâs uninitialized. Could you open the graph and check? Feel free to send a screenshot if you donât figure it out as soon as you open the graph.
I assume weâre talking about the AnimGraph. The AnimGraph is somewhat complex. While I can upload a bunch of screenshots, is there a way I can look at each node and see the error?
There should be a search field under your graph where you can type OrionCharacter and find where itâs referenced (within the graph), which should point you in the right direction.
If you donât figure it out, feel free to upload screenshots of the graph and weâll try to help.
I went into one of the nodes in the AnimGraph and clicked on one of the animation sequences, the resulting sequences opens but the animation is not the right one, itâs the character idle animation.
Ok, here is the AnimGraph. Can you show me where the search field is so I can search for the variable?
In addition, the snapshot shows the list of cached poses I am using. I wanted to show you the list so the next screen snips I send will make sense.
Ok, thatâs the issue, you need to initialize that variable before using it (assuming you didnât leave out the part where you initialize it). Hereâs how:
(just replace the placeholder cast (DefaultPawn) with a cast to your character class, or whatever the type of your Orion Character variable is)
In general, object variables canât âmagicallyâ have the correct value, you have to initialize them. Naming it âOrion Characterâ doesnât mean itâll automatically point to the character, the name is just a name.
When I right click and choose Get Orion Character, it adds one to the graph. However, when I try to save the AnimBp, there is an error and is says:
The asset âGame/Blueprints/Character/Animation/OrionAnimBP(OrionAnimBP.uasset) failed to saveâ
Please read my previous reply and follow the steps.
âGet Orion Characterâ is just retrieving your variable, it will not automatically initialize it if itâs uninitialized.
As for the error, you should see what the error is in the âCompiler Resultsâ panel (which you mightâve turned off, so see next image for where to find it):
New error message in the Output log
LogFileManager: Error: Error moving file â../../../../Unreal Projects/PortalsOfOrion/Content/Blueprints/Character/Animation/OrionAnimBP.uassetâ to â../../../../Unreal Projects/PortalsOfOrion/Saved/OrionAnimBP3DA8BE644328D64961A417A3EDF67D70.tmpâ.
That just seems like an autosave error of sorts, I would ignore it for now and complete the variable setup first and see if the ABP compiles properly afterwards.