Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

BlueprintImplementableEvent's can be called with wrong scope

オープン
#22 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
cpp, unreal-engine
領域
game-dev

調査の方向性

まず、2つの派生クラスと複数の BlueprintImplementableEvent 呼び出しを含む、提供された UE4 4.23 の例を再現します。イベントの直接呼び出しと、報告によれば動作する UFUNCTION ラッパーを比較し、その後プラグインの BlueprintImplementableEvent 処理を追跡します。呼び出しが報告された UberGraphFrame アサーションなしに正しいオブジェクトスコープを保持すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

UE4 Version
4.23

SkookumScript Version
4.23

Describe the bug
Calling mulltiple BlueprintImplementableEvent's in the same script can result in them being called with the wrong scope.

To Reproduce

// Classes A and B derive from the same subclass
// The subclass defines some_event as a BlueprintImplementableEvent
!class_a : SomeClassA.instances_first
!class_b : SomeClassB.instances_first

a.simulate_physics_set(true)
a.some_event(0, true)

b.simulate_physics_set(true)
b.some_event(0, true) // <--- Crash here

Crashes with assert:

Assertion failed: ((UObject*)ContainerPtr)->IsA((UClass*)GetOuter()) [File:C:\Epic Games\4.23\Engine\Source\Runtime\CoreUObject\Public\UObject/UnrealType.h] [Line: 367] 
'SomeClassA_2' is of class 'SomeClassA_C' however property 'UberGraphFrame' belongs to class 'SomeClassB_C'

If I call the BlueprintImplementableEvent via a UFUNCTION marked method that is not BlueprintImplementableEvent then it works fine.

主要言語
C++
スター
138
フォーク
22
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

EpicSkookumScript/SkookumScript-Plugin のほかの issue

EpicSkookumScript/SkookumScript-Plugin の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。