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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Editor crash when selecting meshes in Paint mode

Note: I have created a pull request here.

Hello,

The editor keeps crashing when I select some meshes in paint mode. Here is how to reproduce this bug:

  • Create two instances of the same mesh.

  • Go into Paint Mode

  • Select the first instance (Ctrl+Alt+Click)

  • Select the second instance (Ctrl+Alt+Click)

  • Deselect the second instance (Ctrl+Alt+Click)

  • Select the second instance again (Ctrl+Alt+Click)

I have been able to fix this by patching the file "Source\Editor\MeshPaint\Private\MeshPaintStaticMeshAdapter.cpp". I added the following piece of code at line 183. (See the pull request here).

     StaticMeshReferencers->NumReferencers--;
 //Patch start
     StaticMeshReferencers->Referencers.RemoveAllSwap(
         [=](const FStaticMeshReferencers::FReferencersInfo& Info)
         {
             return Info.StaticMeshComponent == this->StaticMeshComponent;
         }
     );
 //Patch end
 
     // If the last reference was removed, restore the body setup for all the mesh components which referenced it.

Basically, it removes references to meshes that were deselected. This way, the check at line 125 will not be triggered next time you select the item. This seems straight-forward enough, but I would like to make sure this has no side effect.

Thank you for your help!

Product Version: UE 4.11
Tags:
more ▼

asked Jun 13 '16 at 02:54 PM in Bug Reports

avatar image

Nathan Lapel
1 2

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

1 answer: sort voted first

Using your steps above I was not able to get the crash you've listed the steps for.

I tried this in 4.11 and 4.12 but no luck. Not sure if I'm missing something from your description.

When I tried this I added the sphere mesh from the modes panel and made a copy of that. If you have another way of producing the crash or I missed something please let me know.

If you wouldn't mind also including the callstack and log from the project that crashes I can attach this to a JIRA once I'm able to reproduce on my end and submit the ticket.

Thank you!

Tim

more ▼

answered Jun 14 '16 at 01:55 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 887 101 878

(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