Open HungryAnteaterCE opened 4 years ago
Hi, sorry for the delay.
I found out why this is happening. The Process
class isn't implemented in IL2CPP, as stated from this thread which is used to prompt the user for authorization in a browser. That thread also states some work-arounds but until Unity decides to implement that class, it seems like IL2CPP isn't supported.
I imported the plugin into an empty project. I tested by running all_controls example scene. When backend is set to IL2CPP, authentication seems to fail and none of the controls finish loading images/etc. Everything works fine when using Mono backend.
Tested platform: Windows
I'm using the latest version (1.5.0) of the plugin.
Here's the log output:
PlayerConnection initialized from D:/dev/Spotify4Unity_New/x64_cpp/Spotify4Unity_New_Data (debug = 0) PlayerConnection initialized network socket : 0.0.0.0 55117 Multi-casting "[IP] 10.110.21.172 [Port] 55117 [Flags] 3 [Guid] 4276662479 [EditorId] 3759204006 [Version] 1048832 [Id] WindowsPlayer(CE-IT14) [Debug] 1 [PackageName] WindowsPlayer [ProjectName] Spotify4Unity_New" to [225.0.0.222:54997]... Waiting for connection from host on [0.0.0.0:55117]... PlayerConnection accepted from [10.110.21.172] handle:0x460 Started listening to [0.0.0.0:55117] Starting managed debugger on port 56479 PlayerConnection already initialized - listening to [0.0.0.0:55117] Initialize engine version: 2019.3.0f3 (6c9e2bfd6f81) [Subsystems] Discovering subsystems at path D:/dev/Spotify4Unity_New/x64_cpp/Spotify4Unity_New_Data/UnitySubsystems GfxDevice: creating device client; threaded=1 Direct3D: Version: Direct3D 11.0 [level 11.1] Renderer: NVIDIA GeForce GTX 1080 (ID=0x1b80) Vendor:
VRAM: 8079 MB Driver: 25.21.14.1917 D3D11 device created for Microsoft Media Foundation video decoding.