Hello everyone,
I am making a top down shooter for android and right now im having an issue with the game. It works correctly in engine on the mobile player and the in view editor, but as soon as I put it on a device you can walk etc but when you go to shoot the game crashes. I assume it has something to do with my shooting code but are there logs of some sort? How can I go better about fixing this situation.
In Editor: In Editor GIF
On Mobile: Mobile GIF
Character Header
Character CPP
Weapon Header
Weapon CPP
Hi .Soares7,
You will need to look at the device’s logcat results with ADB:
adb logcat -s UE4 -s debug -s DEBUG
All UE4 log messages use the UE4 tag. The system messages will be either debug or DEBUG (case matters). Look for an assert (UE4) and callstack (debug) to see why it crashes.
I think it could be related to me calling the fire function in a function that is called in Tick() just causing it to overload. What should be my best way of calling my fire function without a tick event?
You can also try this as well in order to get more accurate results
adb logcat -s AndroidRuntime -s UE4