VoxelPlugin / VoxelPluginFreeLegacy

Voxel Plugin Legacy for Unreal Engine
https://voxelplugin.com
1.58k stars 297 forks source link

Crashes during sculpting #305

Closed EddieSoloProjects closed 4 years ago

EddieSoloProjects commented 4 years ago

I have had a lot of crashes when sculpting the voxel terrain :

UE4Editor_Voxel!TArray<TVoxelValueImpl<short>,TNoGrowAllocator<TSizedDefaultAllocator<32> > >::ResizeTo() [D:\RocketSync\4.25.0-13144385+++UE4+Release-4.25\Working\Engine\Source\Runtime\Core\Public\Containers\Array.h:2560]
UE4Editor_Voxel!FVoxelSaveBuilder::Save() [D:\Build++Portal+Promotion\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\VoxelPro\Source\Voxel\Private\VoxelData\VoxelSaveUtilities.cpp:63]
UE4Editor_Voxel!FVoxelData::GetSave() [D:\Build++Portal+Promotion\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\VoxelPro\Source\Voxel\Private\VoxelData\VoxelData.cpp:655]
UE4Editor_Voxel!UVoxelDataTools::GetSave() [D:\Build++Portal+Promotion\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\VoxelPro\Source\Voxel\Private\VoxelTools\VoxelDataTools.cpp:150]
UE4Editor_Voxel!AVoxelWorld::SaveData() [D:\Build++Portal+Promotion\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\VoxelPro\Source\Voxel\Private\VoxelWorld.cpp:1538]
UE4Editor_VoxelEditor!TWeakBaseFunctorDelegateInstance<UObject,void __cdecl(unsigned int,UWorld *),<lambda_99fa5c80d3c03acbfcdd5cd280198812> >::ExecuteIfSafe() [D:\RocketSync\4.25.0-13144385+++UE4+Release-4.25\Working\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:1164]
EddieSoloProjects commented 4 years ago

This started after I tested some of the premade objects. Look at Dunes and Cave. Neither worked, they just punched a hole in the terrain straight down. But shortly after that the issues started and got worse. I just made a new world and started over. So far everything seems fine.

EddieSoloProjects commented 4 years ago

It's Happening again. I even did a verify On Unreal 4.25:

Fatal error: [File:D:/Build/++UE4/Sync/Engine/Source/Runtime/Core/Private/GenericPlatform/GenericPlatformMemory.cpp] [Line: 186] Ran out of memory allocating 18446744069422407680 bytes with alignment 0

UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Voxel!TArray<TVoxelValueImpl<short>,TNoGrowAllocator<TSizedDefaultAllocator<32> > >::ResizeTo() [D:\RocketSync\4.25.0-13144385+++UE4+Release-4.25\Working\Engine\Source\Runtime\Core\Public\Containers\Array.h:2560]
UE4Editor_Voxel!FVoxelSaveBuilder::Save() [D:\Build\++Portal+Promotion\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\VoxelPro\Source\Voxel\Private\VoxelData\VoxelSaveUtilities.cpp:63]
UE4Editor_Voxel!FVoxelData::GetSave() [D:\Build\++Portal+Promotion\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\VoxelPro\Source\Voxel\Private\VoxelData\VoxelData.cpp:655]
UE4Editor_Voxel!UVoxelDataTools::GetSave() [D:\Build\++Portal+Promotion\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\VoxelPro\Source\Voxel\Private\VoxelTools\VoxelDataTools.cpp:150]
UE4Editor_Voxel!AVoxelWorld::SaveData() [D:\Build\++Portal+Promotion\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\VoxelPro\Source\Voxel\Private\VoxelWorld.cpp:1538]
UE4Editor_VoxelEditor!TWeakBaseFunctorDelegateInstance<UObject,void __cdecl(unsigned int,UWorld *),<lambda_99fa5c80d3c03acbfcdd5cd280198812> >::ExecuteIfSafe() [D:\RocketSync\4.25.0-13144385+++UE4+Release-4.25\Working\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:1164]
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor_LevelEditor
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
user32
user32
UE4Editor_ApplicationCore
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll
Phyronnaz commented 4 years ago

This should be fixed :)