How does the VR Template's VRPawn reference B_AssetGuideline_VRTemplate?

In the VR Template, there’s a blueprint called B_AssetGuideline_VRTemplate. In its EventGraph, there’s a comment that says “This Blueprint is added to the VRPawn’s DefaultSceneRoot Component under Details->Asset User Data.” This is corroborated by the fact that the Reference Viewer shows that VRPawn has a hard reference to B_AssetGuideline_VRTemplate. However, I can’t find the reference. When I click on VRPawn’s Default Scene Root component (namely, VROrigin) and look in the details panel, Asset User Data has zero Array elements. So, I’m confused. Where is the reference?

Many thanks for any pointers or tips!
Jim

1 Like

Hey Jim, you discovered a rather strange bug, thank you! The Asset User Data of the Default Scene Component does reference the Asset Guideline, but, you can’t see it in the UI, or remove the reference to it. I’ve fixed this on UE5/Main already, but, if you want to fix it in your own project:

  • Make a copy of B_AssetGuideline (give the copy a unique name)
  • Delete B_AssetGuideline
  • Compile and save VRPawn
  • Restart the project (just to make sure)
  • Add the new Asset Guideline to the VRPawn’s Camera Component
  • Compile and save VRPawn

Let me know if this doesn’t work for you!

2 Likes

Hi Victor! Many thanks for the information and your reply!

I suspect your solution works fine, but I didn’t actually try it. Instead (before I saw your reply) I ended up re-creating the entire VRPawn from scratch, lol. It was a little tedious, but I learned the ins-and-outs of the VRPawn in the process. Time well spent.

All the best to you,
Jim

1 Like

I have another issue with my asset guidelines. I created 2 asset guidelines with these settings:

image

image

I added them to the default scene components of different actors.

But it does not prompt me to enable these settings (if missing from the default ini) when I open the project.

The only asset guidelines that works are the ones from the City Sample Crowd pack:

image