suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 11 forks source link

MMO build is not working with Setup for MMO Build #2439

Closed Niinra closed 3 months ago

Niinra commented 3 months ago

The MMO build is not working after choose Setup for MMO Build. This is failing even in a plain demo version, and also after update Unity it is still happening.

Here bellow is the information in the console:

Assets\UnityMultiplayerARPG\MMO\Scripts\MMOGame\Src\Database\DatabaseNetworkManager.cs(99,23): error CS0103: The name 'UniTask' does not exist in the current context
Assets\UnityMultiplayerARPG\MMO\Scripts\MMOGame\Src\Database\DatabaseNetworkManager.cs(105,13): error CS0103: The name 'Application' does not exist in the current context

image

Erros: image

Niinra commented 3 months ago

Reviewing the DatabaseNetworkManager script I removed the use of the unity library and made the instances directly and it seems to fix the problem And I let me do the coopilation for the clients my change is here: image

insthync commented 3 months ago

https://github.com/suriyun-mmorpg/UnityMultiplayerARPG_MMOSource/commit/97595d022289b5f3839bae8e0b0a45f189a869c2

Niinra commented 3 months ago

Oh thanks suri