Web server is returning an unknown error Error code 520
There is an unknown connection issue between Cloudflare and the origin web server. As a result, the web page can not be displayed.
What can I do?
If you are a visitor of this website:
Please try again in a few minutes.
If you are the owner of this website:
There is an issue between Cloudflare’s cache and your origin web server. Cloudflare monitors for these errors and automatically investigates the cause. To help support the investigation, you can pull the corresponding error log from your web server and submit it our support team. Please include the Ray ID (which is at the bottom of this error page). Additional troubleshooting resources.
Cloudflare Ray ID: 80411b03c250989c • Your IP: Click to reveal 178.175.133.131 • Performance & security by Cloudflare
how to export a scene in unity.
Sometimes it is required to export one scene from one Unity project to another. But there copying all the required assets is not the solution as it misses the dependencies of the scene. Most of the time, we end up doing a lot of manual correction. In this tutorial, we will see how to export a scene along with its dependent materials and Gameobjects.
Step1: Selection
- Select the required scene in the project window.
- Right click >Select Dependencies.
- This should select are the materials and Gameobjects linked to the scene.
Step2: Exporting the scene
- Right click the selected objects and click Export package.
- Uncheck include dependencies to remove unused objects.
- Click export and save.
That’s it you have successfully exported a scene. If you have any other question leave it in the comment section below.
Clone Unity Project to A Laptop
![]()
This is really just a re-do of my original post explaining how to set up your project on your desktop with some slight differences, as we are cloning from the desktop rather than setting up an original repository and project files. I thought it might serve as a useful reminder.
Step 1: Cloning the GitHub Repository:
- Access your project’s repository on GitHub.
- Click on the “Code” button and copy the SSH or HTTPSURL provided.
- On your laptop, open the command prompt (Terminal or Git Bash).
- Navigate to the directory where you want to store your project.
- Clone the repository by typing the following command:
Replace `<repository_URL>` with the copied URL from Step 2.
6. Press Enter and wait for the cloning process to complete.
Step 2: Setting Up the Project on Your Laptop:
1. Open Unity on your laptop.
2. Click “Open” or “Load Project” in the Unity Hub.
3. Navigate to the directory where you cloned the repository in Step 1.
4. Select the project folder and click on “Open.”
5. Unity will load the project, and you can start working on it.
Step 3: Setting Up the Project on Your Desktop:
1. Repeat 2–5 from Step 2, ensuring you navigate to the same directory where you cloned the repository.
2. Unity will load the project on your desktop, allowing you to work on it.
Step 4: Synchronizing Changes Between Devices:
1. When you finish working on your project on one device (e.g., laptop), commit and push your changes to the GitHub repository.
— Open the command prompt in the project directory.
— Use the following commands to commit and push your changes:
2. Open the command prompt in the project directory on the other device (e.g., desktop).
3. To pull the latest changes from the GitHub repository, use the following command:
This command will fetch and merge the latest changes into your local project.
Remember to commit and push your changes to the GitHub repository from one device and pull the latest changes on the other to keep them in sync.
How to package and transfer your Unity project from one device to another
A common point of confusion amongst beginners in Unity is how to transfer a Unity project from one computer to another, as there are many ways this can be done. In this article, we will be exploring these methods, as well as their pros and cons.
1. Sharing for project collaboration
Before we start, it is important to note that the methods outlined here for transferring your Unity projects should not be employed if your primary purpose of doing so is for collaboration (i.e. sharing and synchronising your project files with members of your team). For that purpose, you will be better-served by using one of the many source-control tools available for managing your Unity project.
We have some articles on this blog that can guide you in setting up your Unity project on GitHub, as well as on Unity’s native Plastic SCM:
Article continues after the advertisement:
2. Using the unitypackage
The more “official” way of sharing your Unity project files, Unity Packages ( .unitypackage ) are compressed files that can be exported from the Unity Editor. They are specially made to contain the imported assets of a Unity project — i.e. everything from scripts, models, textures, animations, audio files, and more.
Unity Packages are often used when you want to transfer a part of a Unity project, instead of the entire thing; and when you import an asset from the Unity Asset Store, the files are downloaded to (and processed as) a Unity Package by Unity.
a. Exporting a unitypackage
To export a Unity Package, head to Assets > Export Package… This will bring up a new Window that will ask you to select the files and folders in your project you want to export.
Select all the files and folders you want to export, then click on the Export… button to start the process. Before you do so, however, make sure the Include dependencies checkbox is checked, as this will also include all the files in your project that your selected files files depend on.
When you start the export, you will be prompted to select a folder where you want to save your file to. Do pick an easily-recognisable location, such as your Desktop, so that you will be able to find your Unity Package later.
b. Importing a unitypackage
There are 2 ways to go about importing your Unity Package:
- Double-click on the unitypackage file without a Unity Editor open, and (if the prompt appears) choose to use the Unity Hub program to open it. Select the project that you want to import the Unity Package’s file into; the Unity project should then take some time to open, together with a prompt asking you which files from the Unity Package you want to import into.
- With a Unity Editor open, you can either use Assets > Import Package > Custom Package, or double-click on the unitypackage file directly.
Article continues after the advertisement:
3. Zipping the project files
If you are looking to transfer an entire project from one computer to another, then you will want to use this method to transfer your project instead, as this will also transfer your Project Settings (e.g. input bindings for your game) along with your assets.
a. Finding the files to ZIP
- To begin, go to your Project window, then right-click anywhere within and select Show in Explorer (or Show in Finder for Mac devices). This will open the folder that contains your project files.
- Select the Assets, Packages and ProjectSettings folders by holding Ctrl and clicking on each of them, then right-click and compress them (see the image below).

The files in your Unity project to ZIP. The unselected files and folders are unique to each device, and are automatically-generated by Unity.
- This will give you a ZIP file that you can send to the computer you want to transfer your project to. Unzip the file on your other computer, and open the project in Unity. You can refer to the article below for more details on how to do so.
b. Limitations of using unitypackage
While exporting a unitypackage is the “official” way of transferring a Unity project, there are a few benefits to transferring the project using the method described above.
- Your Project Settings are not exported together with the unitypackage . This means that settings that are unique to your project (e.g. input bindings, physics settings) will not be packed into the unitypackage . Hence, you may run into scenarios where input bindings are missing, or your global physics gravity vector being wrong.
- Not all dependencies are exported with a unitypackage . Every Unity project depends on a set of specific additional packages to run, and these packages are listed in the Packages folder. Depending on the version of Unity you use to export the unitypackage , not all of these packages may be included properly.
- unitypackage files are not backwards-compatible with older versions of Unity. This means that if you export from a newer version of Unity, the package may not be compatible with older versions of the engine.
4. Conclusion
Did we miss out any important information in this article? Let us know in the comments below. We hope this article helped you!
Article continues after the advertisement:
Leave a Reply Cancel reply
This site uses Akismet to reduce spam. Learn how your comment data is processed.