Skip to content

This package provides tools for creating and exporting files used by the Treasured Web Viewer.

License

Notifications You must be signed in to change notification settings

TB-Terence/treasured-sdk-for-unity

Repository files navigation

Treasured SDK for Unity

LinkedIn Instagram Youtube

Overview

This package provides tools for creating and exporting files in Unity used by Treasured Web Viewer. The package is currently under development. Issues and feature requests can be submit at here.

Minimum Unity Version

  • 2020.3+, older version may work but not guaranteed

Before you start

This package relies on UnityMeshSimplifier. You must set up your scoped registry for your project BEFORE installing the package.

Open your Unity Editor and go to Edit > Project Settings... > Package Manager > Scoped Registries. Create a new scope registry and enter the following:

Name

package.openupm.com

URL

https://package.openupm.com

Scope(s)

com.whinarn.unitymeshsimplifier

If you already using OpenUPM simply add com.whinarn.unitymeshsimplifier to the scope(s) and click Save.

Next, go to Edit > Project Settings... > Player > Api Compatibility Level and set it to .NET 4.x or .NET Framework.

Installing the Package

Currently the package can only be installed using git. Eventually the package will be move to scoped registry (e.g., OpenUPM) or asset store.

There are two versions of the package:

  1. Stable - This is the most stable version.
https://github.com/TB-Terence/treasured-sdk-for-unity.git#upm
  1. Experimental - This is an experimental version with all the new features and changes. This version doesn't guarantee to generate valid files.
https://github.com/TB-Terence/treasured-sdk-for-unity.git#exp

Install via Installer

The SDK can be installed using treasured-sdk-installer. The installer will setup the project and download all the dependencies the package is using.

Install via GIT URL

The guide on how to add a package from a git URL to your project can be found here. Use the GIT URL above for different version.

Install via local folder

You must clone the project first and then follow the guide on how to add a package from local folder. Use the GIT URL above for different version.

Troubleshooting

If you are getting the following errors, see Before you start section.

Packages\com.treasured.unitysdk has invalid dependencies or related test packages
error CS7069: Reference to type 'Image' claims it is defined in 'System.Drawing', but it could not be found

If you are getting the this error, update your Version Control package to 1.15.12 or above.

unityplastic references strong named Newtonsoft.Json Assembly references: 12.0.0.0 Found in project: 13.0.0.0.

Getting Started

About

This package provides tools for creating and exporting files used by the Treasured Web Viewer.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •