Skip to main content
This topic has been closed for replies.

23 replies

Inspiring
January 4, 2017
> I'm have this message on the log: Security error. This plugin is invalid!.

Let's follow up in your other thread: https://forums.oculus.com/developer/discussion/47956/working-on-unity-editor-but-not-in-build-security-error-this-plugin-is-invalid-unity-5-5-0f3

> I am not sure where to get the info that you have mentioned.

When you make a standalone build, Unity creates an exectuable with the name you choose. Suppose you choose AppName.exe. Right next to the exe file, there will be a folder AppName_Data. In that folder, there is a file output_log.txt. Can you share it, please?
Participant
January 4, 2017

vrdaveb said:

> I'm have this message on the log: Security error. This plugin is invalid!.

Let's follow up in your other thread: https://forums.oculus.com/developer/discussion/47956/working-on-unity-editor-but-not-in-build-security-error-this-plugin-is-invalid-unity-5-5-0f3

> I am not sure where to get the info that you have mentioned.

When you make a standalone build, Unity creates an exectuable with the name you choose. Suppose you choose AppName.exe. Right next to the exe file, there will be a folder AppName_Data. In that folder, there is a file output_log.txt. Can you share it, please?


Here is a copy of an output_log file for a test level that I quickly constructed. Just a plane and a OVR_camera rig to walk around some boxes with. I am also receiving an error stating that.. This plugin is invalid!.


Participant
January 4, 2017

Initialize engine version: 5.5.0f3 (38b4efef76f0)
GfxDevice: creating device client; threaded=1
Security error. This plugin is invalid!

 
(Filename:  Line: 30)

Direct3D:
    Version:  Direct3D 11.0 [level 11.0]
    Renderer: NVIDIA GeForce GTX 1080 (ID=0x1b80)
    Vendor:   NVIDIA
    VRAM:     8084 MB
    Driver:   21.21.13.7633
Default GameObject Tag: Player already registered
 
(Filename:  Line: 90)

Begin MonoManager ReloadAssembly
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\UnityEngine.dll (this message is harmless)
Loading C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
Loading C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\UnityEngine.UI.dll (this message is harmless)
Loading C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\UnityEngine.UI.dll into Unity Child Domain
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\UnityEngine.Networking.dll (this message is harmless)
Loading C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\UnityEngine.Networking.dll into Unity Child Domain
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\UnityEngine.PlaymodeTestsRunner.dll (this message is harmless)
Loading C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\UnityEngine.PlaymodeTestsRunner.dll into Unity Child Domain
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\UnityEngine.VR.dll (this message is harmless)
Loading C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\UnityEngine.VR.dll into Unity Child Domain
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\Pathfinding.Ionic.Zip.Reduced.dll (this message is harmless)
Loading C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\Pathfinding.Ionic.Zip.Reduced.dll into Unity Child Domain
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\Pathfinding.JsonFx.dll (this message is harmless)
Loading C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\Pathfinding.JsonFx.dll into Unity Child Domain
- Completed reload, in  0.024 seconds
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\System.Core.dll (this message is harmless)
Platform assembly: C:\Users\Kory\Desktop\PwOcTest86_64bit_Data\Managed\System.dll (this message is harmless)
OnLevelWasLoaded was found on OVRScreenFade
This message has been deprecated and will be removed in a later version of Unity.
Add a delegate to SceneManager.sceneLoaded instead to get notifications after scene loading has completed
 
(Filename:  Line: 382)

desktop: 1920x1080 60Hz; virtual: 1920x1080 at 0,0
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

Security error. This plugin is invalid!

 
(Filename:  Line: 30)

Security error. This plugin is invalid!

 
(Filename:  Line: 30)

UnloadTime: 0.799346 ms
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Unity v5.5.0f3, Oculus Utilities v1.10.0, OVRPlugin v0.0.0, SDK v0.0.0.
 
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
DllNotFoundException: OVRPlugin
  at (wrapper managed-to-native) OVRPlugin/OVRP_1_1_0:ovrp_GetNodePresent (OVRPlugin/Node)
  at OVRPlugin.get_hmdPresent () [0x00000] in <filename unknown>:0
  at OVRManager.get_isHmdPresent () [0x00000] in <filename unknown>:0
  at OVRDisplay.ConfigureEyeDesc (VRNode eye) [0x00000] in <filename unknown>:0
  at OVRDisplay.UpdateTextures () [0x00000] in <filename unknown>:0
  at OVRDisplay..ctor () [0x00000] in <filename unknown>:0
  at OVRManager.Awake () [0x00000] in <filename unknown>:0
 
(Filename:  Line: -1)

Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/OVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/.\libOVRPlugin
Fallback handler could not load library C:/Users/Kory/Desktop/PwOcTest86_64bit_Data/Mono/libOVRPlugin
NullReferenceException: Object reference not set to an instance of an object
  at OVRCameraRig.UpdateAnchors () [0x00000] in <filename unknown>:0
  at OVRCameraRig.Start () [0x00000] in <filename unknown>:0
 
(Filename:  Line: -1)

NullReferenceException: Object reference not set to an instance of an object
  at OVRCameraRig.UpdateAnchors () [0x00000] in <filename unknown>:0
  at OVRCameraRig.Update () [0x00000] in <filename unknown>:0
 
(Filename:  Line: -1)

NullReferenceException: Object reference not set to an instance of an object
  at OVRCameraRig.UpdateAnchors () [0x00000] in <filename unknown>:0
  at OVRCameraRig.Update () [0x00000] in <filename unknown>:0 
 



Inspiring
January 4, 2017
Thanks, I don't see any non-English Unicode characters in "C:\Users\Kory\Desktop\PwOcTest86_64bit", so it's unclear why OVRPlugin is failing the security check. What language is Windows set to use? Does it help to move the app to "C:\Test"?
Participant
January 4, 2017

No.. it didn't change anything. By language I would assume English if that is what you mean?

-Kory

Inspiring
January 4, 2017
Yes, if English is the only language you're using with Windows and you haven't changed OVRPlugin in the Unity install folder or added another copy of OVRPlugin.dll to your project, then this is unexpected. Can you share a copy of the built project with me? Maybe I can reproduce it here.
Participant
January 4, 2017
Sure.. I can send a copy to you.. What do you need, just the app and the related folder? How do I do that?
Inspiring
January 4, 2017
AppName.exe and the AppName_Data folder should be good enough. Can you zip them up and PM me a dropbox link?
Participant
January 4, 2017

alright.. Give me a few!

Thanks


Participant
January 4, 2017
I sent you a message with a link.. not sure if it will work. It still seems to be uploading. My DB is probably full.. bleh