Closed isaanyoha closed 3 years ago
After purchasing the Battle.io asset, I followed your youtube video tutorial series for setting up Battle.io up to the point of the digital ocean dedicated server. When I start the server app on the Ubuntu with this -> ./Build.x86_64 -gameServerStart -gameServerPort 7700 -gameMaxConnections 50 -gameRule IONetworkGameRule -gameBotCount 10. It shows this ->
Set current directory to /root/BattleIO Found path: /root/BattleIO/Build.x86_64 Mono path[0] = '/root/BattleIO/Build_Data/Managed' Mono config path = '/root/BattleIO/Build_Data/MonoBleedingEdge/etc' Initialize engine version: 2019.4.16f1 (e05b6e02d63e) [Subsystems] Discovering subsystems at path /root/BattleIO/Build_Data/UnitySubsystems Forcing GfxDevice: Null GfxDevice: creating device client; threaded=0 NullGfxDevice: Version: NULL 1.0 [1.0] Renderer: Null Device Vendor: Unity Technologies Begin MonoManager ReloadAssembly
- Completed reload, in 0.118 seconds UnloadTime: 2.064019 ms Cannot initialize advertisement, Unity Ads is not enabled or not supported platforms. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Cannot initialize purchasing, Unity Purchasing is not enabled or not supported platforms. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Running as server in batch mode (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Fallback handler could not load library /root/BattleIO/Build_Data/Mono/libKernel32 Fallback handler could not load library /root/BattleIO/Build_Data/Mono/libKernel32.so Fallback handler could not load library /root/BattleIO/Build_Data/Mono/Kernel32 Fallback handler could not load library /root/BattleIO/Build_Data/Mono/libKernel32 Fallback handler could not load library /root/BattleIO/Build_Data/Mono/libKernel32.so Fallback handler could not load library /root/BattleIO/Build_Data/Mono/libKernel32 [PlayerPrefsMonetizationSave] Loading Items From Json: {} (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
[PlayerPrefsMonetizationSave] Loading Items From Json: {} (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
[PlayerPrefsMonetizationSave] Loading Items From Json: {} (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Again, the LAN mode works. However, when I click on the online button in the app, it turns black and then the server starts to periodically show this below ->
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
Please assist me, it is urgent. Thanks
I got the asset yesterday from the unity assets store -> https://assetstore.unity.com/packages/templates/systems/battle-io-101113
@insthync Ok, it is fixed now. I corrected it with the respond you gave to one who had the same issue. Thanks! you are the best!
After purchasing the Battle.io asset, I followed your youtube video tutorial series for setting up Battle.io up to the point of the digital ocean dedicated server. When I start the server app on the Ubuntu with this -> ./Build.x86_64 -gameServerStart -gameServerPort 7700 -gameMaxConnections 50 -gameRule IONetworkGameRule -gameBotCount 10. It shows this ->
Set current directory to /root/BattleIO Found path: /root/BattleIO/Build.x86_64 Mono path[0] = '/root/BattleIO/Build_Data/Managed' Mono config path = '/root/BattleIO/Build_Data/MonoBleedingEdge/etc' Initialize engine version: 2019.4.16f1 (e05b6e02d63e) [Subsystems] Discovering subsystems at path /root/BattleIO/Build_Data/UnitySubsystems Forcing GfxDevice: Null GfxDevice: creating device client; threaded=0 NullGfxDevice: Version: NULL 1.0 [1.0] Renderer: Null Device Vendor: Unity Technologies Begin MonoManager ReloadAssembly
Cannot initialize purchasing, Unity Purchasing is not enabled or not supported platforms. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Running as server in batch mode (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Fallback handler could not load library /root/BattleIO/Build_Data/Mono/libKernel32 Fallback handler could not load library /root/BattleIO/Build_Data/Mono/libKernel32.so Fallback handler could not load library /root/BattleIO/Build_Data/Mono/Kernel32 Fallback handler could not load library /root/BattleIO/Build_Data/Mono/libKernel32 Fallback handler could not load library /root/BattleIO/Build_Data/Mono/libKernel32.so Fallback handler could not load library /root/BattleIO/Build_Data/Mono/libKernel32 [PlayerPrefsMonetizationSave] Loading Items From Json: {} (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
[PlayerPrefsMonetizationSave] Loading Items From Json: {} (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
[PlayerPrefsMonetizationSave] Loading Items From Json: {} (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
Again, the LAN mode works. However, when I click on the online button in the app, it turns black and then the server starts to periodically show this below ->
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
NullReferenceException: Object reference not set to an instance of an object at CharacterEntity.get_TotalHp () [0x00005] in <39d53138ffdb4436bb7a19427dc83ffc>:0 at CharacterEntity.Update () [0x00110] in <39d53138ffdb4436bb7a19427dc83ffc>:0
(Filename: <39d53138ffdb4436bb7a19427dc83ffc> Line: 0)
Please assist me, it is urgent. Thanks