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"

unreal 4.14 crash while building lightmaps from command line

Hi

UE 4.14 crashes (randomly - say 1 crash every 5 - 10 builds) while building lightmaps for large levels from commandline (ProjectName -run=resavepackages -buildlighting -allowcommandletrendering -map=MapName). The cras occurs ALWAYS in that same place void FTextRenderSceneProxy::DrawStaticElements in a line 'Mesh.MaterialRenderProxy = TextBatch.Material->GetRenderProxy(false);' I'v tried to debug this since TextBatch.Material is a total garbage (bad pointer, definitivelly not UObject derived) but it turns out that inside bool FTextRenderSceneProxy::BuildStringMesh(...) there is a code: if (FontMIDs.IsValid() && FontMIDs->MIDs.IsValidIndex(PageIndex)) TextBatch.Material = FontMIDs->MIDs[PageIndex];

and there is one MIDs (MIDs.Num() == 1) but the MIDs[0] is total garbage to (while it should IMHO be MIDs.Num() == 0, since the used font in question used does not have any MIDs (it's simple offline font) It is know isuue (or is there any way to fix it / avoid, since it literally destroys our automated lightmaps rebuild solution from time to time) ?

Product Version: UE 4.14
Tags:
more ▼

asked Dec 01 '16 at 07:53 AM in Bug Reports

avatar image

MXADD
31 3 4 6

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi MXADD,

This issue will be fixed with 4.15. The was recently fixed internally and doesn't have a JIRA issue for reference.

Thanks for reporting!

Tim

more ▼

answered Dec 05 '16 at 09:50 PM

avatar image

Tim Hobson ♦♦ STAFF
49k 886 99 875

avatar image MXADD Dec 07 '16 at 06:37 PM

Well this is bit unfortunate ... as it breaks totally our automated way to build packages from commandline :/ (I'v hacked a quick fix to not use MIDs at all if ran from commandlet, not a prety thing but works) Any chanse to have it properly patched in 4.14 ?

avatar image Tim Hobson ♦♦ STAFF Dec 07 '16 at 07:46 PM

Looks like this will be put in the 4.15 build but won't make it to 4.14.1 hotfix coming up since it changes a header file. We don't make header changes with the binary releases. If you're using GitHub you can look for the files to be merged up there at some point, not sure when though. The fix went into the Dev-Platform branch on 11/17 and merged to Main on 11/21, so the two files are likely to be there in the Master branch merge.

Look for these two files for the latest changes if you want to merge yourself:

  • /Engine/Source/Editor/UnrealEd/Classes/Commandlets/ResavePackagesCommandlet.h

  • /Engine/Source/Editor/UnrealEd/Private/Commandlets/ContentCommandlets.cpp

(comments are locked)
10|2000 characters needed characters left
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