I Solved it,
Instead of using a struct with XMMATRIX I now use a FLOAT4X4 Instead and just temporary send the value into the XMMATRIX to avoid this 16bit align problem .
Hi,
I was wondering that particular error could mean that my pointer points to a null and am trying to change something that doesn't have something to change right?
but what more could cause that error?
This code doesn't give any compiler error, and I checked with the debugger that "Transform" have "values" which should be changeable.
TransformComponent* temp;
temp = dynamic_cast<TransformComponent*>(pHolder->ComponentList["TransformComponent"].get());
Transform = &temp->Transform;
Transform->LocalPosition = XMMatrixIdentity();