{"id":14960705,"url":"https://github.com/pschraut/unitycopylightingsettings","last_synced_at":"2025-04-09T15:06:19.415Z","repository":{"id":110112968,"uuid":"277062489","full_name":"pschraut/UnityCopyLightingSettings","owner":"pschraut","description":"Unity editor extension to copy\u0026paste lighting settings from one scene to another.","archived":false,"fork":false,"pushed_at":"2024-11-21T11:20:09.000Z","size":17,"stargazers_count":78,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T15:06:15.000Z","etag":null,"topics":["lighting","unity","unity3d","unity3d-editor","unity3d-plugin"],"latest_commit_sha":null,"homepage":"https://forum.unity.com/threads/copy-lighting-settings-from-scene-to-scene.308634/#post-3271269","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pschraut.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-07-04T07:35:34.000Z","updated_at":"2025-03-19T06:12:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"768a4ca8-f06d-487f-9c41-f4ba093dc5bd","html_url":"https://github.com/pschraut/UnityCopyLightingSettings","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"135694fbc55ce20acf18557692aaf6222c753891"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschraut%2FUnityCopyLightingSettings","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschraut%2FUnityCopyLightingSettings/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschraut%2FUnityCopyLightingSettings/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pschraut%2FUnityCopyLightingSettings/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pschraut","download_url":"https://codeload.github.com/pschraut/UnityCopyLightingSettings/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055284,"owners_count":21040157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["lighting","unity","unity3d","unity3d-editor","unity3d-plugin"],"created_at":"2024-09-24T13:22:48.350Z","updated_at":"2025-04-09T15:06:19.390Z","avatar_url":"https://github.com/pschraut.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Copy Lighting Settings for Unity\n\nThe \"Copy Lighting Settings\" package allows you to copy\u0026paste lighting settings from one scene to another.\n\nThe need for this functionality is based on an Unity [forum thread](https://forum.unity.com/threads/copy-lighting-settings-from-scene-to-scene.308634/), where several community members wonder how to transfer the lighting settings from one scene to another.\n\nI found this to be an interesting problem to solve and thus looked into it. In the video below, I show how the tool can be used.\n\n[![](http://img.youtube.com/vi/-TQzrVn1kWM/0.jpg)](https://youtu.be/-TQzrVn1kWM \"\")\n\n# How it works\n\nCopying the \"Sun Source\" setting is a special case that is explained below, \nall other settings are just copied as you would expect.\n\n\"Sun Source\" is a reference to a Light Component in the scene, \nbut Unity does not support cross scene references. \nTherefore the tool does not copy\u0026paste the reference, \nbut it looks for a Light with the same name (upper/lower-case ignored) in the target scene.\nIt looks first for active lights, then inactive lights.\n\nIf a Light with the same name exists in the target scene and there is \ncurrently no \"Sun Source\" assigned, then the tool sets it to the Light found in that scene.\n\n# Installation in Unity 2019.3 and newer\n\nIn Unity's Package Manager, choose \"Add package from git URL\" and insert one of the Package URL's you can find below.\n\n## Package URL's\n\n| Version  |     Link      |\n|----------|---------------|\n| 1.6.0 | https://github.com/pschraut/UnityCopyLightingSettings.git#1.6.0 |\n| 1.5.0 | https://github.com/pschraut/UnityCopyLightingSettings.git#1.5.0 |\n| 1.4.0 | https://github.com/pschraut/UnityCopyLightingSettings.git#1.4.0 |\n| 1.3.0 | https://github.com/pschraut/UnityCopyLightingSettings.git#1.3.0 |\n\n\n# Installation in older Unity versions\n\nIf you use an older Unity version than 2019.3, the Package Manager might not exist or might not have git support yet.\n\nIn this case, I believe the easiest way is to download the `Editor/CopyLightingSettings.cs` file from this repository and save it in your project under `Assets/Editor/CopyLightingSettings.cs`.\n\n# Credits\n\nIf you find this package useful, please mention my name in your credits screen.\nSomething like \"CopyLightingSettings by Peter Schraut\" or \"Thanks to Peter Schraut\" would be very much appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpschraut%2Funitycopylightingsettings","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpschraut%2Funitycopylightingsettings","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpschraut%2Funitycopylightingsettings/lists"}