Announcement

Collapse
No announcement yet.

Shape_Cube issue in quick start

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

    Shape_Cube issue in quick start

    I am trying to follow the quick start guide here: https://docs.unrealengine.com/en-US/...art/index.html. I copied the code from the guide directly without changes, and when I run it I get the following error message:
    Default Property warnings and errors:
    Error: CDO Constructor (FloatingActor): Failed to find /Game/StarterContent/Shapes/Shape_Cube.Shape_Cube

    I can still place the FloatingActor in the perspective viewport, but it isn't actually visible. I can fix this by adding a Static_Cube from the content browser in the unreal editor. However, I cannot figure out how to make the cube visible using the code from the quick start guide, which is exceedingly frustrating. Any guidance on what is causing the error and how I can fix it would be very much appreciated.

    #2
    Hey wmorriss! I'm from the Unreal Engine Documentation team and I think I can help. While I'm unfamiliar with that error, I can reach out to the rest of the Docs team to see what's going on. I've created a ticket and I'll update this thread once I have more information.

    Oh, one more thing. This part of the forums is mainly focused on feedback for the Unreal Online Learning (UOL) team. They mostly work on crating and updating online courses (more info here: https://www.unrealengine.com/en-US/o...arning-courses). If you have feedback for anything you find on the UE docs page (docs.unrealengine.com) you might want to post it on the Documentation Feedback Forum (found here: https://forums.unrealengine.com/unre...ation-feedback). Please let me know if you have any questions about the various forums, or UE teams that help support them.

    Thanks for the feedback and I hope this helps!

    Comment


      #3
      Originally posted by wmorriss View Post
      I am trying to follow the quick start guide here: https://docs.unrealengine.com/en-US/...art/index.html. I copied the code from the guide directly without changes, and when I run it I get the following error message:
      Default Property warnings and errors:
      Error: CDO Constructor (FloatingActor): Failed to find /Game/StarterContent/Shapes/Shape_Cube.Shape_Cube

      I can still place the FloatingActor in the perspective viewport, but it isn't actually visible. I can fix this by adding a Static_Cube from the content browser in the unreal editor. However, I cannot figure out how to make the cube visible using the code from the quick start guide, which is exceedingly frustrating. Any guidance on what is causing the error and how I can fix it would be very much appreciated.
      Very likely an issue with the Shape_Cube Asset having been renamed to Static_Cube. I'll look into fixing the tutorial with the correct asset name. Of course, the ideal best practice is not to hardcode asset paths, but in the interest of making the fastest possible intro tutorial - and because it is actually possible to do, even if not the most highly recommended way - we went with that approach. One way users can do it from code would be to find that Static_Cube Asset, or any other Static Mesh, and right-clicking it in the Content Browser. From there, pick the "Copy Reference" option in the context menu, and then paste the string you get from that as the Asset path in code.

      Thanks for bringing that up!

      Comment

      Working...
      X