Encountered Accessed None Trying to Read Blueprint Grabber

Following along everything was going fine. Did this lecture and spent 20 minutes head to desk over and over again trying to solve the below redoing it over and over trying to see what I missed:

Search of Unreal forums - pretty obvious error right? Means you didn’t set the object to use it. Except we never in the lectures manually set the object and up to this point my logs were showing when I grab and release just fine.

image

Pretty much bog standard stuff above. So last ditch effort, I closed out the editor and then rebuilt in Visual Studio.

Which auto-magically fixed the problem.

I’m posting this just as a resource for others who ran into the same issue or will in the future. Unreal is not my favorite engine because of things like this - it can be very very frustrating. My advice from a few years in UE4 - save often - compile often - use source code often so you can roll back small chunks because you’ll get hit with these type of problems fairly regularly where the answer is “restart the editor and rebuild in visual studio”.

9 Likes

Had the same problem, thx for saving me the trouble of finding this out by myself.

1 Like

You are a true hero

1 Like

I had the same issue!
Thank you for sharing and for the advice "- save often - compile often - use source code "
:raised_hands:

I did this but it only works for the first couple times playing the game again and then the error starts happening again…

1 Like

I’m having the same issue as Max3, unfortunately.

Might help but I had same error so switched to use validated getter. (After dragging in the grabber component into the blueprint, right click and convert to validated getter)

Seemed to fix for me.

Thank you so much. I was worried id have to spend hours online finding a fix.

I experienced the same error. In my case I found that the Grabber component was … “missing”. And that on editor restart the Grabber reference in the Event Graph became invalid. In my case I just re-added the Grabber component and all was well.

I have not been able to reproduce again after, but I believe that under some circumstances of building from source ( for example if you have compilation failure, and then played the simulation ), that some sort of caching nonsense occurs.

I am using Rider as my editor with UnrealLink so it’s not a VSCode thing, most likely it is an Unreal thing.

Privacy & Terms