We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3be87d1 commit 4885570Copy full SHA for 4885570
1 file changed
Assets/Editor/BuildCommand.cs
@@ -11,6 +11,16 @@ public class BuildCommand
11
12
public static void BuildAndroid()
13
{
14
+ var config = AssetDatabase.LoadAssetAtPath<OVRProjectConfig>("Assets/Oculus/OculusProjectConfig.asset");
15
+ if (config == null)
16
+ {
17
+ Debug.LogWarning("Failed to load OVRProjectConfig.asset. Build might fail.");
18
+ }
19
+ else
20
21
+ Debug.Log("OVRProjectConfig.asset loaded successfully.");
22
23
+
24
var buildOptions = new BuildPlayerOptions
25
26
scenes = GetScenes(),
0 commit comments