Its off an event begin play. If I can somehow get that code to go to the widget instead of the add to view port I should be able to have a working inventory in VR. If anyone can figure out what I need to do I’ll be happy to upload a project with the finished inventory and share it with you.
This is so Fing frustrating. Stuck on this for the last day and I can’t move on to something else until I figure this out. Surely someone must know how to add this to a 3d widget instead of add to viewport?
In the end it wouldn’t work in the player pawn so I put the code in the BP_Inventory Blueprint in the end and set it to a reference of the 3dwidget. There is probably a much easier way of doing it. It’s an abandoned project but if I was trying now I’d probably see if casting to the widget would work. Maybe using a getallactors of class node but below is what I did at the time and it works.
I followed the same tutorial and am looking to achieve the same as you were in this project. I followed the last image you posted, but seem to be getting “Access None trying to read property Inventory”. Did you run into this problem or have any advise? Did you ever make your project available ?