Error: Assertion failed: BatchElement.IndexBuffer->IsInitialized()
I've been trying to integrate the Voxel Plugin from the UE4 marketplace, but I've been running into issues. I've finally gotten my project to build, but whenever I attempt to load a map featuring the voxel plugin (I've tried debugging every other way to see if it's something else) my game crashes immediately.
I am replicating terrain and the client has the ability to create a listen server (the plugins docs clearly state that replication works for dedicated server mode only) so I think this could be an issue if I did something to accidentally spin up the listen server across all levels regardless of user settings.
I'm building again without terrain replicated enabled so I'm hoping that will fix it before this gets answered, but I wanted to drop the question just in case I can't figure this out.
If it's not replication, I think this issue has something to do with how the Voxel Plugin is multithreading. I've pushed the plugin past the recommended limits with a 32x32x1 component map with a voxel size of 500...I know that's INSANE and the docs state to make a 4x4x2 map for a larger map, but it's never clearly stated that there's a threshold for map size and other projects have worked with this map size without issue...
I've tried testing on a 16x16x1 map with a voxel size of 100 (significantly smaller than ANYTHING I have ever successfully used this plugin for) and still experienced crashes.
I would also like to note that I attempted to use BPThreads to handle some other multithreading tasks, but since abandoned the plugin after optimizing my code.
Here are my logs from running the editor in standalone and running the packaged .exe. I've been working with the engine since 4.6 so I've gotten pretty good at reading logs, but I think I'm just missing it since I've been working on this for so long. link text
Any help is greatly appreciated!
asked Mar 31 '18 at 02:15 AM in Packaging & Deployment
Ugh sorry guys...I was still using the Voxel Invoker from the Marching Cubes plugin which was causing a crash because the invoker was returning a null world. Thank you to everyone who might have been looking into this with me, but my game is working now!
answered Apr 02 '18 at 05:15 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here