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"

[BUG] Unable to run packaged game, containing a blueprint actor with 5 or more HierarchicalInstancedStaticMeshes

If a blueprint actor has more than or equal to 5 different HierarchicalInstancedStaticMesh placed in the construction script, and the game is packaged for Windows (64-bit) with at least one of these in the world, then the packaged game is unable to run, returning "Assertion failed: bIsGrass || WriteOncePrebuiltInstanceBuffer.NumInstances() == GetNumRenderInstances() [File: \Build\++UE4+Release-4.16+Compile\Sync\Engine\Source\Runtime\Engine\Private\HierarchicalInstancedStaticMesh.cpp][Line: 2527]" (Using 4.16.2) once the built version of the game is run.

Steps to reproduce:

  • Create an actor blueprint

  • Create 5 different HierarchicalInstancedStaticMesh (I used "shape_Trim_90_Out", "SM_Lamp_Ceiling", "SM_TableRound", "SM_WindowFrame" & "SM_Arrows" from the default content to test)

  • Make sure that all 5 meshes are placed (since according to my testing it is only when it is above 5 meshes the error occur)

  • Run a loop placing them (I just used flip-flops to test) in the construction script

  • Place the actor in the world

  • Package for Windows (64-bit)

  • Run the packaged game

  • Experience the error

alt text

Product Version: UE 4.16
breaktest.png (400.2 kB)
more ▼

asked Jun 29 '17 at 07:36 PM in Bug Reports

avatar image

35 2 2 7

avatar image soulmapp Jun 30 '17 at 12:22 PM

I found also that is crashes with anything more than 1 hism mesh within a bp actor placed in a map that you trying to open alt text

bug.jpg (522.3 kB)
avatar image VictorBurgos Jul 03 '17 at 07:27 PM

Can confirm, this is indeed a bug...just ran into this during a package test for the gamejam... GGWP... This is fine in editor... just not good in packaged.

avatar image soulmapp Jul 04 '17 at 12:49 PM

i found that for me it cooks and does not crash if cooked for shipping, but if you cook for development it will crash when trying to load any map contain any hism actors.

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

1 answer: sort voted first

One workaround is to use ISMC instead until they fix it... sucks that we have to use a workaround, but it worked for me. Hope it works for you.

more ▼

answered Jul 03 '17 at 07:49 PM

avatar image

2.4k 61 27 115

avatar image TJ V ♦♦ STAFF Jul 12 '17 at 01:53 PM


Sorry for the delay and I'm glad you found a workaround.

I was able to reproduce this in 4.16, but I was unable to repro it in 4.17 Preview 1. So you should see this working properly once the full 4.17 is available.


avatar image Kneebasher Aug 15 '17 at 02:02 AM

4.17 does work now to package, but if you toggle the HLOD actor's visibility to hidden it won't toggle back for some reason. It works fine run from the editor, it only breaks in the packaged version.

avatar image LuLima Jan 02 '18 at 07:11 PM

Excuse my ignorance, but what is ISMC?

avatar image soulmapp Jan 04 '18 at 02:31 AM

Instanced Static Mesh Component

(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