Frequently asked questions

Quick answers about using Scripts For Unity in your projects: what it costs (nothing), the licence, Unity versions, and how to install scripts, kits and shaders.

Is everything really free?

Yes. Every script, kit, shader, tool and guide on Scripts For Unity is free, with no paywall, premium tier or sign-up. The site is made by Mete for the Unity community; the About page explains the mission.

Can I use the scripts and shaders in a commercial game?

Yes. Everything is MIT licensed, so you can use it in personal and commercial projects, change it, and ship it in games you sell. Credit is appreciated but never required.

Do I need an account?

No. You can read, copy and download everything without logging in or giving an email address.

Which Unity versions are supported?

Most scripts run on Unity 2022.3 LTS and newer; a few use Unity 6 APIs and need Unity 6. The shaders are written for the Universal Render Pipeline in Unity 6. Every script and shader page states the version it needs.

How do I add a script to my project?

Download the .cs file (or copy the code into a new C# file with the same name as the class), put it anywhere under Assets, and let Unity compile. Then add it to a GameObject and fill in the Inspector fields the script page lists. Each page has setup steps and common mistakes.

How do I use a shader?

Download the .shader file into Assets, create a material, and pick the shader under Scripts For Unity in the material's Shader menu. The shaders need a project that uses URP. On each shader page you can tune the material in a live preview before downloading.

What is in a kit download?

A kit downloads as a .zip with its C# scripts and a README listing the setup order and fixes for common problems. Kits contain scripts only, no scenes or prefabs. Kits marked Preview only show their design but are not downloadable yet.

A script throws an InvalidOperationException about Input in Unity 6. Why?

New Unity 6 projects use the Input System package only, and scripts that read the older Input class throw that exception. Set Project Settings > Player > Active Input Handling to Both, or see the legacy Input page for the Input System equivalents.

Can I change the code?

Yes, that is the idea. The scripts and shaders are single, readable files meant as starting points. Rename them, change their fields and events, and fit them to your project.

Does the script checker or the playground upload my code?

No. The Unity 6 script checker, the error lookup, the playground and the shader Inspectors all run in your browser. Nothing you paste or edit leaves your device.

Can the playground run my C#?

No. The playground shows how a script's Inspector would look and explains each important line, but it does not compile or run C#. Copy the script into Unity for that.

Why are there ads?

Hosting and development cost money, so some pages may show ads to keep the site free. Ads never sit next to a Copy or Download button, and nothing moves behind a paywall. The privacy policy explains what ads and analytics mean for your data.

How do I report a bug or suggest something?

Use the contact page. For a bug, include the script, kit or shader name and your Unity version. Leave your email if you would like a reply.

Where should I start?

For a quick prototype, start with the free scripts and game systems guide, which groups scripts by problem with build paths for platformers, shooters, RPGs and mobile games. If you are new to Unity, start with Learn Unity.