Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

Build and run sometime fails due to this error.


mobfish_cai
 Share

Recommended Posts

Sometimes I got this error when doing or after doing a build, when you check loader type, can you at least add if(loader!=null) ?

This is probably caused by my scripts which changes loader settings during build or cloud build.

This error prevents me from a successfull build some time. 

 

[Exception] NullReferenceException: Object reference not set to an instance of an object
CustomBuildProcessor.CheckIsBuildingWave() at Library/PackageCache/com.htc.upm.wave.xrsdk@1.0.0/Editor/WaveXRBuildCheck.cs:59
57:   foreach (var loader in loaders)
58:   {
-->59:       if (loader.GetType() == typeof(WaveXRLoader))
60:       {
61:           return true;

CustomBuildProcessor+CustomPostprocessor.OnPostprocessBuild() at Library/PackageCache/com.htc.upm.wave.xrsdk@1.0.0/Editor/WaveXRBuildCheck.cs:86
84:   public void OnPostprocessBuild(BuildReport report)
85:   {
-->86:       if (report.summary.platform == BuildTarget.Android && CheckIsBuildingWave())
87:       {
88:           DelAndroidManifest();

BuildPipelineInterfaces+<>c__DisplayClass17_0.<OnBuildPostProcess>b__1() at <d7545a46516941d4b2f2dec578cd41ee>:0

BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2]() at <d7545a46516941d4b2f2dec578cd41ee>:0
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...