Sign up with your email address to be the first to know about new products, VIP offers, blog features & more.


How to save data to Google Spreadsheet from Unity 3D (No SDK – No Plugins)

Learn how to save data to Google Spreadsheet from Unity 3D to save user and game data without using any plugin or SDK. With help of this tutorial you can create survey apps, newsletter subscription and many other ideas on your Unity App without having to worry for databases. Store all the information on Google Sheet from Unity.

Difficulty Level : Beginner

Total Time for Project: 15 minutes

Extra Skills:

  • Browser Inspect Element or View Source code and Find (Ctrl + F) 
  • Google Forms


How to save data to Google Spreadsheet from Unity 3D

Basic Workflow:

Here we’ll be creating a Google Form that will save the responses to the Google Spreadsheet an using few tricks we will replicate that form into our Unity App, so that the data to the Google Form will now be feed from Unity App.

So, our first step is to create a Google Form. Login to Google Forms with Google Account and create a Google form. New Google Form will have fields and entries that are similar to what you are trying to keep on unity app.

After creation of Form, start a Unity Project and create similar form on the 2D Canvas by adding Input Fields. This is my form in Unity.

Now, add the script to the Canvas Component.

C# – Save Data to Google Sheet

Up to this step, every component of the UI should be connected to the script, and you are ready to go.

Few things on the scripts are achieved from Source Code of the Google Forms, to get that follow these steps.

  1. Right click Google Form Page and click View page source (CTRL + U)
  2. Press CTRL + F to find, and type “form action” from here you’ll get BASE_URL.
  3. Now we need to get entry fields, on same page search for “input type=”text” “, and copy the data inside attribute name (Tip: starts with entry.NUMBER). Remember type can vary for every field according to the type you select during form creation. eg. entry.1673653496

Now, App is ready to run. Watch video for more detailed information.

Thank you for your love.

No Comments Yet.

What do you think?

Your email address will not be published. Required fields are marked *

%d bloggers like this: