03-23-2025 11:29 AM
So, I've been trying to set up a VR environment in Unity. The goal is to bring it to my Oculus Quest 3. However, there is a problem right away. After setting up the project (Universal 3D, XR Plug-in Management installed) and installing Meta XR All-in-One SDK into the project, I don't have any building blocks provided by Meta. The list is just empty. So when I go to Meta -> Tools -> Building Blocks, this is what I get:
I can see the collections, but selecting them leads me to yet another empty screen:
Any idea what could be the problem? I tried with 2 different Unity versions, 2022.3.46f1 and 6000.0.43f1, both with the same result. The version of the Meta SDK is 74.0.1.
This is the tutorial I was following, and I've done all the steps shown here until the Building Blocks: https://www.youtube.com/watch?v=4mIRoZ_8MKY
03-23-2025 04:52 PM
I was going crazy at like midnight when I figured this out. See the highlighted portion in this screenshot. Here's the link to it- https://developers.meta.com/horizon/downloads/package/meta-xr-core-sdk/
For me, "All Building Blocks" only showed spatial audio. After I did this fix, everything worked. I asked chatGPT to help and it essentially added a toolbar link in my project for me that would run the script. It works.
Good luck. Working with this SDK and the Meta Avatars SDK is like playing whack-a-mole.
a month ago - last edited a month ago
Hi my friend, here the solution:
1. Create a folder named "Editor" in your Assets folder
2. Create a C# script inside called "FixBuildingBlocks.cs" with this code:
using UnityEngine;
using UnityEditor;
public class FixBuildingBlocks : EditorWindow
{
[MenuItem("Tools/Fix Building Blocks")]
public static void FixBlocks()
{
EditorPrefs.DeleteKey(null);
Debug.Log("Null key deleted. Restart Unity to see Building Blocks.");
}
}
3. Save, wait for compilation, then click Tools → Fix Building Blocks
4. Restart Unity completely
ET VOILÁ!
3 weeks ago
It works! thank you