Announcement

Collapse
No announcement yet.

Failed to adding an inherited RadialForceActor in C++

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Failed to adding an inherited RadialForceActor in C++

    As the title, just after adding it from the editor, the editor says there are some compiling errors.The VS says as below:
    Click image for larger version

Name:	error.png
Views:	1
Size:	30.0 KB
ID:	1216174

    I wonder if it is a bug of UE4?Thx to any help!

    #2
    Originally posted by 周颐 View Post
    As the title, just after adding it from the editor, the editor says there are some compiling errors.The VS says as below:
    [ATTACH=CONFIG]136247[/ATTACH]

    I wonder if it is a bug of UE4?Thx to any help!
    Hey, I believe this post in answerhub is related to your problem. If the suggested solution does not work for you, I believe there's nothing much you could do about now but to recreate an identical class as RadialForceActor inherited from ARigidBodyBase, with another name, and start from there.

    Comment


      #3
      Yes, it may be a solution.But I still think it is a bug.I have tried serveral times with empty project.Anyway, many thanks to your reply!

      Comment


        #4
        RadialForceActor is marked as MinimalAPI and not exported.

        You have to either create a duplicate for your own code, or modify engine source so that it's an exported class.

        Comment


          #5
          Originally posted by 周颐 View Post
          Yes, it may be a solution.But I still think it is a bug.I have tried serveral times with empty project.Anyway, many thanks to your reply!
          Yeah, it was marked as a bug and already being treated by Epic Staff, as you can see in the Pull Request #3346

          Comment

          Working...
          X