Hello ,
Made a reply to TTaM’s post that it might be related to my end, there are the functions that create the issue, however here are what you ask:
MachineId:209466C2438367B1D0CEBD842511E3EE
EpicAccountId:d9d172a506bf4cce9cf8c7bfa20431cd
Access violation - code c0000005 (first/second chance not available)
""
PhysX3PROFILE_x64
PhysX3PROFILE_x64
PhysX3PROFILE_x64
PhysX3PROFILE_x64
UE4Editor_Engine!TGraphTask<FPhysXTask>::ExecuteTask() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\public\async\taskgraphinterfaces.h:779]
UE4Editor_Core!FTaskThread::ProcessTasks() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\async\taskgraph.cpp:539]
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\async\taskgraph.cpp:340]
UE4Editor_Core!FTaskThread::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\async\taskgraph.cpp:690]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\buildfarm\buildmachine_++depot+ue4-releases+4.10\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:74]
Reproduction
On the functions I have posted as a reply to TTaM, and calling these functions with the function below should reproduce it as this crash ALWAYS occurs in the sequence of:
Adding X amount of items,
Removing Y amount of items (Y<X)
Adding any amount of items
Removing them back
Trying to add
In simple words, if an instance is created, removed, added, removed and trying to add again crashes. Only occurs when I use a multi dimension one. I tried to replicate it with two Instances that I created (Separate ones) and could not replicate it which makes me think its my fault.
ProductPlacementX = 5;
XAmountChanged();
ProductPlacementX = 1;
XAmountChanged();
ProductPlacementX =5;
XAmountChanged(); //Where the crash should occur.
To be continued