HOW DO I FIX THIS BLUEPRINTS BUG
Error Blueprint Runtime Error: Accessed None trying to read property box-u-dead from function: 'ExecuteUbergraph_BOX-G-UP-DEAD' from node: AddActorLocalOffset in graph: EventGraph in object: BOX-G-UP-DEAD with description: Accessed None trying to read property box-u-dead
asked Dec 18 '16 at 02:26 AM in Bug Reports
If you read the error one piece at a time you will understand it (it took me a while to read them and understand them).
This tells you you're code is accessing a variable called "box-u-dead" that is currently NULL (none) and treating it like an object because somewhere else you are expecting it to be an object, like an Actor reference.
Do you have an object, function or event called BOX-G-UP-Dead? Because it's within that object/function/event where this error is happening.
So the blueprint function you are calling that's accessing this variable at the time it's NULL/NONE is the AddActorLocalOffset node and this call is triggering this error.
Within your BOX-G-UP-DEAD Actor you have an event graph called "EventGraph". It's within this event graph where the error is happening.
And again it's within an Object/Actor called BOX-G-UP-DEAD
The solution? Before you use the variable "box-u-dead" pass it through an "IsValid?" node to make sure it's not NONE/NULL before you use it.
answered Dec 18 '16 at 02:39 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here