Crash on Windows 10 when Construct Object from Class

Hello,
I was working on an Inventory System. I followed a tutorial and checked if this error still there in another Version.
I tried 4.15.3 and it worked well.
So this issue is only in 4.17.

Picture Text: If I would compile without it, it will work.
But I need it for the Inventory System.
In other Versions it works fine.

Hopefully you can fix it as soon as possible. It’s pretty important for me and I’m sure for others, too.
Thanks for helping ^^