Skip to content

unisave-cloud/asset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unisave Asset

Website Discord

Unisave Asset is a Unity Engine asset that integrates your game with the Unisave cloud. The asset is available on the Unity asset store.

If you just want to use Unisave, please refer to the online documentation on the Unisave website. Everything in this repository is intended for Unisave developers, not its users.

Documentation

After Cloning

You need to install the precise version of Unity that the project currently uses, see the version in ProjectSettings/ProjectVersion.txt.

After cloning do:

  1. Open the project in Unity (check the Unity version).
  2. Ignore compile errors.
  3. Install required Unity packages in Window > Package Manager in Packages: Unity Registry:
    • TextMeshPro (so that examples compile)
    • Test Framework (so that tests compile and run)
    • JetBrains Rider Editor (so that csproj and sln files are generated and Rider works well)
    • If some package installation fails, just restart Unity and retry.
    • Restart Unity once all are installed, if errors don't disappear right away.
  4. Set up Unisave cloud connection (ideally to the minikube cluster) so that examples and unit test can be run.
    • Minikube connection does not use HTTPS, thus you get an Insecure connection not allowed. Go to Project Settings > Player > Other Settings > Configuration > Allow downloads over HTTP and select Always allowed.

Optional:

  1. Import Text Mesh Pro Window > TextMeshPro > Import TMP Essential Resources so that examples work.
  2. Enable Heapstore backend definition file to run its tests as well (this option is remembered in PlayerPrefs only).

Once this is done, you can try running all the tests. Open Window > General > Test Runner and select the Play Mode tab. You should see all the tests. To try out the connection, run the UnisaveFixture.ExampleFullstackTest.ItCallsFacetMethod by double-clicking on it. Then double-click the root node to run all the tests.

Note: To kill running tests, click on the [>] play button.

Development

See the Development setup documentation page.

About

Unity asset for the game backend service Unisave

Topics

Resources

License

Stars

Watchers

Forks

Languages