[Update] May 22, 2024
Hey Creators,
In 2019, we announced our intention to sunset LinkedSource scripts and removed the option to create new LinkedSource scripts in Studio. This was following the launch of packages as our best way for creating an asset once and using it anywhere. Today, we are announcing that we will remove support for LinkedSources in Studio on May 20.
After this change, it will no longer be possible to edit LinkedSource scripts in Studio. In particular, you wouldn’t be able to:
- View LinkedSources in Script Editor
- Publish new versions of existing LinkedSource scripts
- See LinkedSources in Asset Manager
LinkedSources will continue to load and execute, even in Studio test modes, but most Studio editing features will no longer work for linked source instances.
As always, we are committed to keep existing games functioning. LinkedSources will continue to load at runtime, and thus existing games that use LinkedSource scripts will continue to work. But in order to edit them in Studio, you will need to migrate any LinkedSource scripts to traditional scripts.
To make this transition easier we are providing a migration tool that can automatically migrate all your LinkedSourced scripts to embedded (traditional) script instances. The migration tool is available starting today.
How to migrate your LinkedSource Scripts
If you open a place that has LinkedSource scripts in it, a dialog box will pop up that will ask you if you want to migrate your LinkedSource scripts or not.
The migration tool will copy the contents of the LinkedSource asset into the embedded source property of the script, then clear the LinkedSource property itself, finally saving the old value as an attribute. At runtime everything should be the same. We highly suggest doing this migration as soon as possible.
Please let us know if you have any questions.
Thank you.