{"id":20290018,"url":"https://github.com/extrys/ngo-clientpredictedspawn","last_synced_at":"2026-06-08T10:33:06.029Z","repository":{"id":259209258,"uuid":"876603555","full_name":"Extrys/NGO-ClientPredictedSpawn","owner":"Extrys","description":"Use client prediction spawning for Netorking for GameObjects","archived":false,"fork":false,"pushed_at":"2024-10-22T10:07:24.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T04:42:03.191Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Extrys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2024-10-22T08:52:13.000Z","updated_at":"2024-10-22T10:07:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"640a40ef-080d-4b56-874f-63e4895ea83c","html_url":"https://github.com/Extrys/NGO-ClientPredictedSpawn","commit_stats":null,"previous_names":["extrys/ngo_clientpredictedspawn"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Extrys/NGO-ClientPredictedSpawn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extrys%2FNGO-ClientPredictedSpawn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extrys%2FNGO-ClientPredictedSpawn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extrys%2FNGO-ClientPredictedSpawn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extrys%2FNGO-ClientPredictedSpawn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Extrys","download_url":"https://codeload.github.com/Extrys/NGO-ClientPredictedSpawn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Extrys%2FNGO-ClientPredictedSpawn/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34059156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-14T15:05:57.202Z","updated_at":"2026-06-08T10:33:06.015Z","avatar_url":"https://github.com/Extrys.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NGO ClientPredictedSpawn\nUse client prediction spawning for Netorking for GameObjects\n\nThis repository implements a client-predicted object spawning system for Unity projects using Netcode for GameObjects. \nIt includes two implementations of a spawner system: basic and advanced\n\n**Basic**: Contains a simple script for handling client-predicted object spawning.  \n**Advanced**: is a more advanced implementation that offers greater control by integrating a customizable spawner factory.\n\nyou can use both methods independently, there is no dependences between folders\n\n### Installation\n- You need Unity 6 LTS. (you can use in other NGO compatible versions, but need reflections or modify the package, explained in comments)  \n- Add the files (from, Basic, Advanced or both folders) to your Unity project and ensure Netcode for GameObjects is installed. \n\n\n### Basic Implementation\nThe basic system (MonoPredictedSpawnerBasic) is ideal for scenarios where you need a quick and straightforward way to spawn objects with client prediction. \nThis system uses a simple queue to instantiate and synchronize objects across the network.\n(The prefabs to be spawned needs to have \"NetworkObject\" component)\n\n- Easy to set up: You only need to define the prefab you want to spawn.\n- Requires no additional structure or advanced instance management.\n- Less flexible, as you need an instance of this for each type of prefab you need to instantiate.\n\n\n### Advanced Implementation\nThe advanced method provides greater flexibility. \nIt uses a spawner factory to manage spawner instances, each spawner handles the spawning of runtime specified prefabs to be network compatible.\n(The prefabs to be spawned needs to have \"NetworkObject\" component)\n\n- Allows the use of multiple spawners managed by a factory, allowing spawn different prefabs in runtime.\n- The spawner factory can be easily integrated with dependency injection systems for dynamically managing object creation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextrys%2Fngo-clientpredictedspawn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fextrys%2Fngo-clientpredictedspawn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fextrys%2Fngo-clientpredictedspawn/lists"}