keijiro / KlakHap

HAP video player plugin for Unity
Other
341 stars 27 forks source link

Hap player throws error when on iOS but not on PC #40

Closed cstobler closed 3 years ago

cstobler commented 3 years ago

Hi,

Your plugin is working great on PC/Desktop, but when trying to run the game on iOS, it throws this error every frame:

`DllNotFoundException: Unable to load DLL 'KlakHap': The specified module could not be found. at Klak.Hap.Demuxer.KlakHap_OpenDemuxer (System.String filepath) [0x00000] in <00000000000000000000000000000000>:0 at Klak.Hap.Demuxer..ctor (System.String filePath) [0x00000] in <00000000000000000000000000000000>:0 at Klak.Hap.HapPlayer.OpenInternal () [0x00000] in <00000000000000000000000000000000>:0 at Klak.Hap.HapPlayer.LateUpdate () [0x00000] in <00000000000000000000000000000000>:0

(Filename: currently not available on il2cpp Line: -1)`

What could be the reason that this would be happening on mobile, but not on PC?

Thanks in advance for any help.

Charlie

keijiro commented 3 years ago

As noted on README, KlakHap only supports the 64-bit desktop platforms.