Hi, I am desperate. I have a project that works fine in the editor but crashes when packaged. I narrowed it down to the reason was because of the switch camera function. In the game I have set up buttons if pressed the switch to the fixed assigned camera like this:
Here is the setup in the level blueprint
Are you your switch function doesn’t get called before setting the camera reference?
Make sure tu add a IsValid before the setViewTargetWithBlend for both your player and camera, just to be extra sure they’re there when the node is called.
Btw if you package in development you should have some logs somewhere.
Check this:
Additionally, you should get the editor symbol, this will give you a readable crash report that you can screen here when you crash.
To do so go to the epic launcher, on your engine version click the arrow, go to Options, enable Editor Symbol (the one at the bottom here)
Hi, I try to remove everything in the level blueprint and start one by one using Standalone. So I crashed when I tried to play in a Standalone with only the view target blend… How is the view target blend such a problem?
Okie, problem solved, turns out I used the wrong camera type (Cine Camera). It is supposed to be a Camera Actor only apparently.
Thank you for the help anyway!