{"id":14961008,"url":"https://github.com/gilzoide/unity-scene-reference","last_synced_at":"2026-01-19T23:06:34.746Z","repository":{"id":70590867,"uuid":"565586096","full_name":"gilzoide/unity-scene-reference","owner":"gilzoide","description":"Autogenerated ScriptableObjects that are stable references to the scenes configured in Build Settings, even if they are moved/renamed","archived":false,"fork":false,"pushed_at":"2024-01-10T12:03:04.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T21:24:07.586Z","etag":null,"topics":["package","reference","scene","unity","unity3d","upm","upm-package"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gilzoide.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["gilzoide"],"patreon":null,"open_collective":null,"ko_fi":"gilzoide","tidelift":null,"community_bridge":null,"liberapay":"gilzoide","issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2022-11-13T21:26:14.000Z","updated_at":"2023-07-17T07:10:18.000Z","dependencies_parsed_at":"2024-10-10T10:40:34.971Z","dependency_job_id":null,"html_url":"https://github.com/gilzoide/unity-scene-reference","commit_stats":{"total_commits":14,"total_committers":1,"mean_commits":14.0,"dds":0.0,"last_synced_commit":"e6b94df98aa257186fbca553e6043c68a2310bb5"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gilzoide/unity-scene-reference","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-scene-reference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-scene-reference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-scene-reference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-scene-reference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gilzoide","download_url":"https://codeload.github.com/gilzoide/unity-scene-reference/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gilzoide%2Funity-scene-reference/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28588971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T20:45:59.482Z","status":"ssl_error","status_checked_at":"2026-01-19T20:45:41.500Z","response_time":67,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["package","reference","scene","unity","unity3d","upm","upm-package"],"created_at":"2024-09-24T13:23:37.780Z","updated_at":"2026-01-19T23:06:34.730Z","avatar_url":"https://github.com/gilzoide.png","language":"C#","funding_links":["https://github.com/sponsors/gilzoide","https://ko-fi.com/gilzoide","https://liberapay.com/gilzoide"],"categories":[],"sub_categories":[],"readme":"# Stable Scene Reference\n[![openupm](https://img.shields.io/npm/v/com.gilzoide.stable-scene-reference?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.gilzoide.stable-scene-reference/)\n\nAutogenerated `ScriptableObject`s that are stable references to the scenes configured in Unity Build Settings.\n\n\n## Features\n- Scene references are automatically generated/refreshed whenever the scenes in Build Settings change or any scene is renamed/moved, no code or manual setup required\n- Scene references are stable and based on their GUID: if a scene is renamed/moved, all existing references to the corresponding `SceneReference` are maintained\n- No extra files are created in your project: everything lives in the asset imported from an empty file that lives in the package's own folder\n- Utility methods `SceneReference.Load`, `SceneReference.LoadAsync` and `SceneReference.UnloadAsync` to load/unload scenes directly from references\n\n\n## Caveats\n- Only Scenes enabled in Build Settings are generated\n  + Referencing scenes that are not in Build Settings is not supported at all\n  + If you have multiple build configurations that involve changing which Scenes are enabled, previous references to disabled ones will be missing from the build and will be `null` at runtime\n\n\n## How to install\nEither:\n- Use the [openupm registry](https://openupm.com/) and install this package using the [openupm-cli](https://github.com/openupm/openupm-cli):\n  ```\n  openupm add com.gilzoide.stable-scene-reference\n  ```\n- Install via [Unity Package Manager](https://docs.unity3d.com/Manual/upm-ui-giturl.html) using the following URL:\n  ```\n  https://github.com/gilzoide/unity-scene-reference.git#1.0.0\n  ```\n- Clone this repository or download a snapshot of it directly inside your project's `Assets` or `Packages` folder.\n\n\n## How to use\n1. Declare [SceneReference](Runtime/SceneReference.cs) fields in your scripts\n2. Use the Inspector to assign any of the `SceneReference`s automatically generated from your project's Build Settings\n3. Use `SceneReference.Load`, `SceneReference.LoadAsync` and `SceneReference.UnloadAsync` to load/unload scenes.\n   Alternatively, use `SceneReference.BuildIndex` or `SceneReference.Path` as argument to [SceneManager](https://docs.unity3d.com/ScriptReference/SceneManagement.SceneManager.html) load/unload methods.\n4. Enjoy 🍾\n\n\n## Related projects\n- https://github.com/NibbleByte/UnitySceneReference\n- https://github.com/starikcetin/Eflatun.SceneReference\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Funity-scene-reference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgilzoide%2Funity-scene-reference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgilzoide%2Funity-scene-reference/lists"}