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"

Custom Mesh Component Not Showing In-Game


I made a bunch of custom meshes in C++ using an array of triangles then generating them with UCustomMeshComponent. It all works fine until I hit "Simulate" or "Play" then all the generated meshes disappear. I was wondering why this happens and how I can fix it.

Thank you, ~Adam

Product Version: Not Selected
more ▼

asked Apr 18 '14 at 06:30 PM in C++ Programming

avatar image

113 6 10 13

avatar image ttvd Nov 03 '14 at 06:57 PM

Did you ever manage to solve this problem? I am running into this too.

avatar image hausfrau87 Jan 23 '19 at 10:03 AM

maybe its also being culled by unreal, try to increase the object bounds or try enabling backface rendering in the shader

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

1 answer: sort voted first

Are you re-creating your custom meshes in the constructor?

You'd need a different class for each shape if you were doing that

if you are NOT doing that

then the running of the default constructor is probably eliminating the mesh?

Try adding all the triangles in the constructor and see if that helps.

Or you can just run a BP node to recreate the mesh after runtime starts in PIE



more ▼

answered Apr 19 '14 at 03:15 AM

avatar image

10.6k 446 346 1088

(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