Skip to content

Do not run non-editor Functions #193

@EggBanana123

Description

@EggBanana123

Before opening this issue, I ensure that...

  • I have checked both open and closed issues and confirmed this bug has not already been reported.
  • I am not asking for tech support (e.g. error when starting program or trying to build).
  • I am not reporting an issue with assets/scripts/logic of a specific game/mod; this bug is directly related to the editor itself.
  • This bug is not related to any unofficial forks of the editor, and any issues with those should be kept in the appropriate repository.

Editor Tool

Scene Editor

RSDK Version

v2, v3, v4

Expected Behavior

Functions not called by editor subs/events should not be run

Actual Behavior

Functions not called by editor subs/events should not be run

Steps to Reproduce

  1. Open the v2/v3/v4 scene editor
  2. Open a scene
  3. Make sure a function in a script contains variables from both a GameConfig and Game.xml
  4. It will produce a missing variable error

Screenshots

No response

Was another editor used on the file(s)?

No response

Platform

Linux Mint

Additional Comments

This also errors out when finding functions and variables in engine forks
This might be out of the scope of the project, but it is still caused by the same issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions