Eusth / VRGIN.Template

Generic project to work with VRGIN.
MIT License
59 stars 65 forks source link

My Summer Car #5

Open mdovgialo opened 7 years ago

mdovgialo commented 7 years ago

I though this could be a perfect VR game, but VRGIN does nothing for it. Launching game with --verbose parameter I get this:

mysummercar
Running on Unity 5.0.0f4
-----------------------------
Loading plugins from D:\SteamLibrary\steamapps\common\My Summer Car\Plugins and found 1
-----------------------------
 My Kick-Ass VR Plugin: 1.0
-----------------------------
[15:50:23][ERROR][UnityHelper#LoadFromAssetBundle] Looks like the asset bundle failed to load?
[15:50:23][INFO][UnityHelper#LoadFromAssetBundle] Loading: Unlit (CF)
[15:50:23][ERROR][UnityHelper#LoadFromAssetBundle] System.NullReferenceException: Object reference not set to an instance of an object
  at VRGIN.Helpers.UnityHelper.LoadFromAssetBundle[Shader] (System.Byte[] assetBundleBytes, System.String name) [0x00000] in <filename unknown>:0
My Kick-Ass VR Plugin: System.NullReferenceException:
  at (wrapper managed-to-native) UnityEngine.Material:Internal_CreateWithShader (UnityEngine.Material,UnityEngine.Shader)
  at UnityEngine.Material..ctor (UnityEngine.Shader shader) [0x00000] in <filename unknown>:0
  at VRGIN.Visuals.DefaultMaterialPalette.CreateUnlit () [0x00000] in <filename unknown>:0
  at VRGIN.Visuals.DefaultMaterialPalette..ctor () [0x00000] in <filename unknown>:0
  at VRGIN.Template.ConfigurableContext..ctor () [0x00000] in <filename unknown>:0
  at VRGIN.Template.VRPlugin.CreateContext (System.String path) [0x00000] in <filename unknown>:0
  at VRGIN.Template.VRPlugin.OnApplicationStart () [0x00000] in <filename unknown>:0
  at IllusionInjector.CompositePlugin+<>c.<OnApplicationStart>b__3_0 (IPlugin plugin) [0x00000] in <filename unknown>:0
  at IllusionInjector.CompositePlugin.Invoke (IllusionInjector.CompositeCall callback) [0x00000] in <filename unknown>:0

mysummercar.exe version is 5.0.0.39095, which, I guess is version of the Unity engine used.

Any help, where to start hacking it in?