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. 

ImportAssets commandlet reimport access violation crash.

If a user runs the ImportAssets commandlet to reimport an fbx asset the engine will crash with an access violation exception.

UReimportFbxSkeletalMeshFactory::Reimport attempts to check if the asset already exists in the editor's transaction buffer. It Does this by calling GEditor->IsObjectInTransactionBuffer(SkeletalMesh); this function assumes that the UTransactor object exists and simply references it without checking for validity. This causes an access violation as the UTransactor object does not exist when running in commandlet mode.

Adding a validation check before UTransactor is access should alleviate the issue. Alternatively a check for IsRunningCommandlet can be added before GEditor->IsObjectInTransactionBuffer is called.

Product Version: UE 4.19
more ▼

asked Jun 06 '18 at 10:32 PM in Using UE4

avatar image

71 3 12 15

avatar image Dan Tiedy Jun 19 '18 at 11:49 PM

I had this same issue. All the members of the EditorEngine get initialized in UEditorEngine::Init(IEngineLoop* InEngineLoop) which is skipped in FEngineLoop.PreInit

avatar image Clayton.Campbell Jun 20 '18 at 04:21 PM

FYI I put in a PR that fixes the issue a few days ago. A very simple fix if this is still causing you problems.


(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