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"

[Error] Creating custum K2 Node

I created new class via editor based K2Node_ConstructObjectFromClass

And after compliation with studio I got next strange error:

Couldn't find parent type for 'K2Node_AsyncAction' named 'UK2Node_BaseAsyncTask' in current module or any other module parsed so far.

After file has been removed with regeneration project files and error is not gone...

I need to create my custom K2 node for blueprint similar with CreateWidget. And cannot do them due to errors. What can I do? Thanks.

UPD: Are there any tutorals about this?

Product Version: UE 4.9
more ▼

asked Mar 10 '16 at 01:58 PM in C++ Programming

avatar image

584 45 66 96

avatar image IgorKovalev Mar 14 '16 at 11:37 AM

I have the same error in UE 4.10. Did you found a solution?

avatar image broly Mar 14 '16 at 07:00 PM

No,not found for now. And if you will find any solutions please tell me about them. Привет русскоговорящему, кстати.

avatar image IgorKovalev Mar 17 '16 at 06:20 AM

Пока не разобрался почему, но когда я создал ноду не из редактора, а из VS, проект скомпилился без ошибок.

avatar image broly Mar 17 '16 at 10:18 AM

А какую ноду вы создали? Такую же как у меня - K2Node_ConstructObjectFromClass? Я так понимаю, через VS - это вручную код создан. Вообще говоря кое-какая инфромация о модулях записывается в .uproject файл, и из-за модулей перечисленных там собственно и происходит эта ошибка. Однако без этих модулей и инклудить не получается K2Node_ConstructObjectFromClass.h

Странно это всё...

avatar image IgorKovalev Mar 17 '16 at 10:31 AM

Да. Наследовался от K2Node_ConstructObjectFromClass. Ну кроме создания класса не через визард были ещё отличия. Я не стал создавать папки public и private, как советуют в статье, по которой я делал.

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

0 answers: sort voted first
Be the first one to answer this question
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