-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Describe the issue
I bought the WebGL HISPlayer to solve our Unity WebGL streaming playback issues, and looks like it will.
We're not interested in it on Mobile as we download the videos to device and use the inbuilt unity player which works well on local files, but doesn't work in 6.3 for remote streaming over low quality networks.
When we now try to build mobile versions we get an error on iOS and Android.
For Android the error is:
IOException: Failed to Copy File / Directory from 'Packages/com.hisplayer.hisplayersdk/HISPlayer/Plugins/Android/gradleTemplate_22_23.properties' to 'Packages/com.hisplayer.hisplayersdk/HISPlayer/Plugins/Android/gradleTemplate.properties'.
UnityEditor.FileUtil.CopyFileOrDirectory (System.String source, System.String dest) (at <5016c3a47c2a4a0cbfa8e12eb592279b>:0)
HISPlayerSettings.HISPlayerSettingsAndroid.CheckUnityVersion () (at <673603216962489c9d8449ecad9fdc6f>:0)
HISPlayerSettings.HISPlayerSettingsAndroid.get_isUnityVersionSupported () (at <673603216962489c9d8449ecad9fdc6f>:0)
HISPlayerSettings.HISPlayerSettingsAndroid.PrintAndroidLogs () (at <673603216962489c9d8449ecad9fdc6f>:0)
«ªªª««¬ªªª¬ª.¬ªª¬««ªª¬«¬«¬ () (at <673603216962489c9d8449ecad9fdc6f>:0)
«ªªª««¬ªªª¬ª.¬ªª¬«ª¬¬¬ª¬ª¬ªª««¬ () (at <673603216962489c9d8449ecad9fdc6f>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <5016c3a47c2a4a0cbfa8e12eb592279b>:0)
This message keeps appearing many times a second (whilst typing I can see it has generated 53k of them!!)
For IOS the repeating error is
NullReferenceException: Object reference not set to an instance of an object
HISPlayerSettings.HISPlayerSettingsiOS.IsPluginiOSOnly (UnityEditor.PluginImporter importer) (at <673603216962489c9d8449ecad9fdc6f>:0)
HISPlayerSettings.HISPlayerSettingsiOS..cctor () (at <673603216962489c9d8449ecad9fdc6f>:0)
Rethrow as TypeInitializationException: The type initializer for 'HISPlayerSettings.HISPlayerSettingsiOS' threw an exception.
«ªªª««¬ªªª¬ª.¬ªª¬««ªª¬«¬«¬ () (at <673603216962489c9d8449ecad9fdc6f>:0)
«ªªª««¬ªªª¬ª.¬ªª¬«ª¬¬¬ª¬ª¬ªª««¬ () (at <673603216962489c9d8449ecad9fdc6f>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <5016c3a47c2a4a0cbfa8e12eb592279b>:0)
Your system and development environment:
- HISPlayer Unity Video Player SDK version: 4.15.0
- Unity version: 6000.3.9f1
- Package URL (if purchased from the store): WebGL from Unity Asset Store
- Operating system (OS): Windows 11 (latest update)
To Reproduce
Steps to reproduce the issue:
- Create a Webgl/ios/Android unity project
- Install the HISPlayer Unity asset only
- Change to Android or IOS and see the error messages.
Screenshots
If applicable, could you add screenshots to help explain your problem?