[Closed] Accessed none even though it shouldnt?
I have just recently begun re creating my corrupted project in UE4 (from scratch) and I keep getting an access none error
which leads to an empty function (from an interface) when I click on it.
But from reading it, it seems to actually mean here
This error only occurs when I am moving the player via keyboard not and not mouse (its a top down game) and rotating the camera via the above function simultaneously?
Can anyone see any problems here? I can't.
asked Aug 30 '14 at 06:32 AM in Blueprint Scripting
The question has been closed Aug 31 '14 at 03:02 AM by Oscar Cooke-Abbott for the following reason:
I realised the problem, it was on my end, not UE4's fault.
I discovered the problem, I was trying to use the player casted as mainpawn later on in the script, and I didnt realise that because that part was way further away.
So what was happening was that it was trying to access a variable which was only available for a certain part of the time.
answered Aug 31 '14 at 03:02 AM
this might be a bandaid of a solution but... cant you just do a 'isvalid' in your 'direct interact' function??
answered Aug 31 '14 at 12:34 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here