EpicSkookumScript / EpicSkookumScript/SkookumScript-Plugin

EntityClass cannot be used as expected

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
138
Forks
22
PR merge metrics
No merged PRs in 30d

Description

**UE4 Version**
All

**SkookumScript Version**
All

**Describe the bug**
The usage of `EntityClass` for `&blueprint` annotated functions is inconsistent. It should accept other variables of type EntityClass.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a bp annotated function that takes an `EntityClass`
2. Create a variable of type EntityClass and note that you cannot pass it to the function

**Additional context**
Looks like there may be a missing link here, the reflection of class references to sk have no type information, so an class reference of type Pawn and a class reference of type GameMode both come in as `EntityClass`.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with a UE4 blueprint-annotated function accepting EntityClass and a variable of that type. Trace the reflection of class references into SkookumScript, then verify that compatible EntityClass variables can be passed and that the available class type information is handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, unreal-engine
Domain
game-dev, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.