LoginSignup
0
0

[UE5]プロパティ CallFunc_GetPlayerCharacter_ReturnValue の読み取りを試行するためのアクセスはありません。の解決例

Last updated at Posted at 2024-05-17

何があった?

Get Player Characterに関するロジックを少し修正したら下記のエラー文が出ました。

エラー文
PIE: Error: ブループリントランタイム エラー:"プロパティ CallFunc_GetPlayerCharacter_ReturnValue の読み取りを試行するためのアクセスはありません"。 ノード:  Set Actor Rotation グラフ:  EventGraph 関数:  Execute Ubergraph BP Boss Slime ブループリント:  BP_BossSlime

原因

Get Player Characterが到達しないロジックに使用されていたためでした。

Get Player Characterの結果を他で使わなくても、記述するなら必ず到達させる必要があるみたいです。

解決した方法

必ず到着するロジック(Event Begin Play など)につなげることで、エラーが出なくなりました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0