So I’m making a game, and want to implement a weapon switch. however, this has been super freaking hard because of stupid c++.
Here we have a project. It compiles quite nicely! even the following code doesn’t crash it:
But if I add THIS code (uncommented of course)
it crashes the whole thing and I can’t even open the project unless I run it directly from visual studio. It’s not a problem with the FP_Gun, I also tried with a different mesh name I had imported (called Shotgun)… didn’t work.
Please help and thank you.