I am trying to learn more about the included SDK examples, and in this attempt. I was trying to run the different SDK\bin executables.
Some of them crash instantly.
Tried both x86 and x64, as well as debug variations.
It just reports it has stopped working. Gives no additional information.
If I try to launch with debugger attached.
"Exception thrown at 0x00007FF67AB5EB3C in VoxelFarmDemoSimple_debug_x64.exe: 0xC0000005: Access violation reading location 0x0000000000000000."
It appears like there is some kind of null value in a place it shouldn't be.
CallStack with pdb loaded.
VoxelFarmDemoSimple_debug_x64.exe!VoxelFarm::CCellData::processMesh(VoxelFarm::CClipmapView * clipmapView, VoxelFarm::CMaterialLibrary * materialLibrary, VoxelFarm::CBillboardCache * billboardCache, VoxelFarm::CCellData::ThreadContext * tc, VoxelFarm::StatTracker * stats) Line 1172 C++
VoxelFarmDemoSimple_debug_x64.exe!VoxelFarm::contourCellDataMCA(VoxelFarm::ContourThreadContext * tc, VoxelFarm::CClipmapView * clipmapView, VoxelFarm::CMaterialLibrary * materialLibrary, VoxelFarm::CCellData * cellData, VoxelFarm::CBillboardCache * billboardCache, VoxelFarm::CCellData::ThreadContext * cellDataThreadContext, bool compress, VoxelFarm::StatTracker * stats, bool compressOnlyBoundaries) Line 1674 C++
VoxelFarmDemoSimple_debug_x64.exe!main(int argc, char * * argv) Line 115 C++
I can reliably have these crash if you'd like more information. I can also see some locals. I'm not sure which thing is relevant here as I can't see the above address. The closest thing to it is the __vfptr and its 2 elements. But they are at address 0x7ff67ab4354e which is just shy of the 0x7ff67ab5eb3c.
Somewhere in ProcessMesh, which I believe I don't have access too as its part of the compiled dll?
Possibly just passed bad data from sample? I'm not sure.
I haven't yet tried compiling the samples myself to see if it behaves there as well.