asadm / playroom-unity

9 stars 1 forks source link

Build fails due to missing functions #63

Closed SaadBazaz closed 2 months ago

SaadBazaz commented 2 months ago

What happened?

Hi! Wasn't active this last week but got the chance of trying it today.

Build fails because some functions in PlayroomKit.cs call native functions that don't exist in PlayroomPlugin.jslib like UnsubscribeOnPlayerJoinInternal and UnsubscribeOnQuitInternal

Version

Unknown

What is your environment?

No response

Link to original discussion

https://discord.com/channels/997752993598419044/1128151935669764096/1234894885820301323

Relevant log output

No response

SaadBazaz commented 2 months ago

@momintlh - Can you reproduce this?

momintlh commented 2 months ago

Did they try npm run build in Assets/playroomkit folder? I need to know the version as well.

SaadBazaz commented 2 months ago

To resolve such an issue, make sure you are building the jslib file:

In your project directory cd .\Assets\PlayroomKit\

and run npm run build