Skip to content

Image loading tests stability improvement#44

Merged
IvanMurzak merged 7 commits into
mainfrom
fix/tests
Jul 5, 2026
Merged

Image loading tests stability improvement#44
IvanMurzak merged 7 commits into
mainfrom
fix/tests

Conversation

@IvanMurzak

Copy link
Copy Markdown
Owner

This pull request updates the Unity version used for building and testing the installer, adds recommended VS Code settings for Unity development, and removes the Asset Store Tools API source code from the repository. The main changes are grouped below:

Build and CI Updates:

  • Updated the Unity version for installer builds and tests from 2019.4.40f1 to 2021.3.45f1 in both .github/workflows/release.yml and .github/workflows/test_pull_request.yml, ensuring compatibility with newer Unity features and packages. [1] [2]

Developer Environment Improvements:

  • Added VS Code recommendations and launch configuration for Unity development in Installer/.vscode/, including recommended extensions and an "Attach to Unity" debug configuration. [1] [2]
  • Updated Installer/.vscode/settings.json to improve file exclusions and specify the default solution file for .NET development. [1] [2]

Asset Store Tools Package Cleanup:

  • Removed the entire Asset Store Tools API source code and related metadata files from Installer/Packages/com.unity.asset-store-tools/Editor/Api/Abstractions/, as well as the CHANGELOG.md and several .meta files, likely in preparation for using the package as a prebuilt dependency rather than maintaining source. [1] [2] [3] [4] [5] [6] [7] [8]

These changes modernize the build environment, streamline developer setup, and simplify package maintenance by removing bundled source code for third-party tools.

…t Store Tools package. Update package.json to reference the GitHub repository directly. Add new project settings files for memory and version control configurations. Update ProjectVersion.txt to reflect the new Unity editor version. Clean up unnecessary files and ensure proper package management.
Introduces IWebRequestProvider interface to enable dependency injection of web requests, allowing for mock implementations during testing. Updates FutureSprite and FutureTexture to use the new provider pattern. Adds MockWebRequest and MockWebRequestProvider for comprehensive testing without network calls. Includes test utilities for mock response configuration and adds CLAUDE.md documentation. Also updates to Unity 2022.3 and adds MCP integration dependencies.
@IvanMurzak IvanMurzak self-assigned this Jul 4, 2026
@IvanMurzak IvanMurzak added the enhancement New feature or request label Jul 4, 2026
IvanMurzak and others added 3 commits July 5, 2026 13:35
# Conflicts:
#	Installer/Packages/com.unity.asset-store-tools/Editor/Api/Abstractions/IAssetStoreClient.cs.meta
#	Installer/Packages/com.unity.asset-store-tools/Editor/Api/Abstractions/IAuthenticationType.cs.meta
#	Installer/Packages/packages-lock.json
#	README.md
#	Unity-Package/Assets/Resources.meta
#	Unity-Package/Assets/Resources/Unity-MCP-ConnectionConfig.json.meta
#	Unity-Package/Assets/root/README.md
#	Unity-Package/Assets/root/Tests/Base/Utils/MockWebRequest.cs.meta
#	Unity-Package/Assets/root/Tests/Base/Utils/MockWebRequestProvider.cs
#	Unity-Package/Assets/root/Tests/Base/Utils/MockWebRequestProvider.cs.meta
#	Unity-Package/Assets/root/Tests/Base/Utils/TestHttpServer.cs.meta
#	Unity-Package/Assets/root/Tests/Base/Utils/TestUtils.cs
…oject

The Unity-Package project manifest had accidentally picked up
com.ivanmurzak.unity.mcp (0.17.2) and com.unity.ai.navigation (1.1.5)
plus the whole MCP NuGet/SignalR scoped-registry chain. Neither is a
dependency of the Image Loader library, and both fail to compile on the
older editors in the test matrix:

  - com.unity.ai.navigation@1.1.5: CS1061 NavMeshSurface.IsPartOfPrefab
  - com.ivanmurzak.unity.mcp@0.17.2: CS0246 EnumField / IntegerField

"Scripts have compiler errors" made Unity exit before running any test,
so every 2019/2020/2021/2022 job failed at compilation (2023.1+ passed
because the newer API exists there).

Restore Packages/manifest.json, packages-lock.json and
PackageManagerSettings.asset to main's known-good clean state.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@IvanMurzak
IvanMurzak merged commit c88c3e7 into main Jul 5, 2026
85 checks passed
@IvanMurzak
IvanMurzak deleted the fix/tests branch July 5, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant