x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Adding class specifier breaks my project!! UE4 bug?

I have a project which involves blueprint for GUI and C++ for the rest of the game. Naturally, I need my blueprint to be able to reference the c++ part of my game. I have a tile widget class (a widget representing a land tile which holds a few text boxes and things) and it is supposed to hold a pointer to a tile C++ class which holds the actual functions and variables and stuff. I just came back to working on my project after a long hiatus and i am suprised to see the c++ and bp system is working fine, except for the fact that my tile c++ class isnt supposed able to be a variable type but still is in the tile widget somehow. Well, i cannot make any more tile c++ pointers in BP because its not visible, and I want to be able to, so i add BlueprintType to the UCLASS(). Now, the pointer is not correct in the sense that no tile c++ functions are running anymore and no tile C++ variables are being changed. What's up?

Product Version: UE 4.19
Tags:
more ▼

asked Jan 11 '19 at 01:37 AM in Using UE4

avatar image

AngryBeanspr0ut
24 1 1 6

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

I fixed it by upgrading my project to the most recent version of UE4 (4.21).

more ▼

answered Jan 11 '19 at 02:35 AM

avatar image

AngryBeanspr0ut
24 1 1 6

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question