Skip to content

Runtime error running scene in Editor on Windows with Unity configured to target Android

Summary

Setting the build target to android causes an error about a missing dll.

Minimal project and steps to reproduce

I made a video to showcase the issue https://www.youtube.com/watch?v=GVymNoO7QPc

What is the current bug behavior?

audio loads, but video doesn't

What is the expected correct behavior?

audio visual playback

Relevant logs and/or screenshots

DllNotFoundException: libVLCUnityPlugin assembly:<unknown assembly> type:<unknown type> member:(null)
LibVLCSharp.OnLoad.OnBeforeSceneLoadRuntimeMethod () (at Assets/VLCUnity/Internal/OnLoad.cs:32)

Environment

  • OS: Windows 11
  • Device: x64 desktop
  • VLC Unity plugin version 0.2.0