Skip to content

Removing C++ variable is not reflected in IDE until restart #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
EpicSkookumScript opened this issue Nov 19, 2019 · 1 comment
Open
Labels
bug Something isn't working

Comments

@EpicSkookumScript
Copy link
Owner

Issue by error454
Wednesday Nov 06, 2019 at 22:39 GMT
Originally opened as https://github.com/SkookumScript/SkookumScript-Plugin/issues/17


UE4 Version
4.23.1

SkookumScript Version
4.23.1

Describe the bug
When removing a variable defined in C++ and then recompiling, the Sk IDE will still show that variable until a restart.

To Reproduce

  1. Remove a C++ UPROPERTY'd variable from a class.
  2. Compile and launch the project
  3. Look in Sk IDE and notice variable is still there
  4. Restart Sk IDE and notice variable is now gone

Expected behavior
IDE gets updated without requiring a restart.

@EpicSkookumScript EpicSkookumScript added the bug Something isn't working label Nov 19, 2019
@error454
Copy link
Collaborator

error454 commented Feb 25, 2020

I was running this through the debugger but could not reproduce the issue. I made a ZachTest class with 4 UPROPERTY variables. I compiled the project, verified that I could see all 4 variables in
the IDE and then removed 1 variable and recompiled. The change was correctly reflected in the IDE.

The area of interest in the IDE code is the function
SSkMemberList::refresh_content and then the subequent call to add_new_or_keep_old for SkTypedNameRaw. I don't see any logic issues in the code and now am suspicious that perhaps UHT did not run when I experienced the issue.

Going to leave this bug open until I can confirm the situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants