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"

Spawned classes don't have the correct interfaces

When I spawn a character by dragging it into the scene, it's interfaces work fine, but when I spawn one only the interfaces in the base register as being available.

The following graph is in the characters BASE class. So your first guess might be that this is what's happening - self is getting a reference to the base and that's what's spawning. But when I print out the class, it's not the name of the base class, it's the name of the correct derived class. Is this a bug then?

alt text

Product Version: UE 4.8
Tags:
capture.png (79.8 kB)
more ▼

asked Aug 05 '15 at 01:01 PM in Bug Reports

avatar image

Asher S Einhorn
650 94 80 182

avatar image Ben Halliday STAFF Aug 05 '15 at 03:09 PM

Hi Asher,

I haven't been able to reproduce this in 4.8.3. To test, I created a Blueprint Interface in a Third Person template project and set it in a Child of the ThirdPersonCharacter BP. I then spawned the Child on Begin Play in the Level Blueprint. Inside the Child, I have this setup to test for the interface:

alt text

Once spawned, the Child prints "true", indicating that the Child Character does implement it's interface as expected. Can you set up something similar and let me know if it sees the interface? If not, could you try to reproduce this in a small test project and get that to me? Thanks!

avatar image Asher S Einhorn Aug 05 '15 at 05:39 PM

I actually think this might be to do with where I was doing it. It was in an actor I had told to be destroyed. So the Controller was pending destroy which I think was messing it up. I'm going to put it somewhere else and see what happens.

avatar image Asher S Einhorn Aug 06 '15 at 12:51 PM

OK, so it is still happening, I'll send it over. How should I send it?

avatar image Ben Halliday STAFF Aug 06 '15 at 04:31 PM

Zip and upload the project someplace like Dropbox or Google Drive and send me a download link. If you need it to be private, you can send it via PM on the forums:

https://forums.unrealengine.com/member.php?32-Ben-Halliday

Thanks!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

OK i restarted the machine and now it works fine with no changes. strange!

more ▼

answered Aug 06 '15 at 05:38 PM

avatar image

Asher S Einhorn
650 94 80 182

avatar image Ben Halliday STAFF Aug 06 '15 at 05:40 PM

Hm, strange, but not unheard of. I'll go ahead and resolve this post for now. If it starts happening again, please send the project along so we can look into it.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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