Skip to content

Enhance TPK Handling and Error Reporting - #130

Merged
PassivePicasso merged 1 commit into
masterfrom
update-assetstools.net
Jul 31, 2026
Merged

Enhance TPK Handling and Error Reporting#130
PassivePicasso merged 1 commit into
masterfrom
update-assetstools.net

Conversation

@PassivePicasso

Copy link
Copy Markdown
Owner
  • Added error handling for unsupported class data formats in ImportProjectSettings.cs to prevent game import failures.
  • Introduced TpkState and TpkDownloadResult enums in ClassDataManager.cs to better manage TPK states and download results.
  • Refactored PlanAcquisition method to utilize TpkState for cache checks and download logic.
  • Implemented detailed logging for TPK format issues and download failures.
  • Updated tests in ClassDataManagerTests.cs to cover new TPK state handling and ensure proper behavior when TPKs are unreadable or incompatible.
  • Adjusted ClassDataVersionCoverageTests.cs to validate TPK readability and coverage more robustly.
  • Updated AssetsTools.NET.dll and AssetsTools.NET.xml to reflect changes in the underlying library.

- Added error handling for unsupported class data formats in ImportProjectSettings.cs to prevent game import failures.
- Introduced TpkState and TpkDownloadResult enums in ClassDataManager.cs to better manage TPK states and download results.
- Refactored PlanAcquisition method to utilize TpkState for cache checks and download logic.
- Implemented detailed logging for TPK format issues and download failures.
- Updated tests in ClassDataManagerTests.cs to cover new TPK state handling and ensure proper behavior when TPKs are unreadable or incompatible.
- Adjusted ClassDataVersionCoverageTests.cs to validate TPK readability and coverage more robustly.
- Updated AssetsTools.NET.dll and AssetsTools.NET.xml to reflect changes in the underlying library.
@PassivePicasso
PassivePicasso merged commit 2257054 into master Jul 31, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant