Files
AR-Menu/Library/PackageCache/com.unity.cloud.gltfast@db5a82ec0b47/Documentation~/test-project-setup.md
2025-11-30 08:35:03 +02:00

2.5 KiB
Raw Blame History

Test Project Setup

You can get started quickly by opening one of the provided test projects or setup a custom project.

Test Projects

This repository comes with test projects that are pre-configured to have all required packages installed and ready to run tests.

Project List

Project Description
glTFast-Test Default project with all optional packages installed.
glTFast-Test-minimalistic Minimalistic setup with none of the optional dependency packages installed.

Open a Project

To open a project open Unity® Hub, go to Projects and pick AddAdd project from disk. Select the respective project folder from within the Projects directory in your local copy.

Upon opening the project you can pick a Unity version of your choice (within the range of supported versions). In fact you might have to, if the predefined version is not installed. If you decide to work on more recent versions, keep in mind that for contributions your changes have to be backwards compatible to all supported versions.

Setup a Custom Project

The setup of an existing project can give you a development context that is not covered by any of the provided test projects. Examples are custom scripts for import/export of glTFs, the constellation of installed packages, the choice of render pipeline or use of Entities.

In such scenarios it makes sense to setup the existing project for glTFast development.

Prerequisite is that you have a local copy of the repository.

With your project opened, open the Package Manager and click the symbol at the top left. Select Add package from disk and navigate to Packages/com.unity.cloud.gltfast/package.json within your local copy.

Repeat the same steps for the tests package at Packages/com.unity.cloud.gltfast.tests/package.json.

You're now ready to start modifying glTFast and run the tests.

Trademarks

Unity® is a registered trademark of Unity Technologies.