emanzione / PATCH

The PATCH repository for issues tracking, wiki and shared material.
https://assetstore.unity.com/packages/tools/utilities/p-a-t-c-h-ultimate-patching-system-41417
MIT License
47 stars 7 forks source link

caw file generated an exception #30

Closed orenkoren closed 3 years ago

orenkoren commented 3 years ago

Hello,

I am experiencing a very weird issue when installing the game from the launcher, it fails every time on 93% with the same file generating an exception

another weird thing is that the GI folder has a "level2" folder in this, which is different from the "level1" folder I have when I build the game outside of PATCH, with Unity only.

here is the log file from the launcher:

2020-12-12 23:20:40.660 +02:00 [INF] ===> [Game updating] process STARTED! <=== 2020-12-12 23:20:40.887 +02:00 [INF] Update context initializing... 2020-12-12 23:20:40.888 +02:00 [INF] Update context points to http://patch 2020-12-12 23:20:40.889 +02:00 [WRN] No current version found. A full repair may be required. 2020-12-12 23:20:40.892 +02:00 [INF] Workspace cleaned. Removed 0 files 2020-12-12 23:20:42.322 +02:00 [WRN] No patches index found. 2020-12-12 23:20:42.478 +02:00 [INF] Collected 161 local files. 2020-12-12 23:20:42.485 +02:00 [INF] Retrieved definition for 0.1.1 2020-12-12 23:20:42.486 +02:00 [INF] Found 0 applicable updates. 2020-12-12 23:20:42.486 +02:00 [INF] Update context completed initialization. 2020-12-12 23:20:42.490 +02:00 [INF] Repairing process started. 2020-12-12 23:21:03.676 +02:00 [ERR] ===> [Game updating] process FAILED! <=== - The URL http://patch/Builds/0.1.1/Game/The Middle Ages_Data/GI/level2/08/08771a4d2e67ae722f9ceb7272f75959.caw generated an exception.

emanzione commented 3 years ago

Seems like that specific file is raising problems. The best options you can explore are:

orenkoren commented 3 years ago

This problem persists in fenixwebserver as well, but Laragon seems to work fine however, I noticed NetworkChecker is null within LauncherUpdater scope so I added NetworkChecker = new NetworkChecker(); to the Initialize method.

emanzione commented 3 years ago

The new release 2.4.2 should fix the issue!