Find out what’s changed in Unity 6 Preview since 2023.2 and view the documentation for the affected areas.
To find out more about the new features, changes, and improvements to this Unity version, refer to the Unity 6 Preview Release Notes.
To find the release notes for other releases, refer to the Unity download archive.
If you are upgrading existing projects from 2023.2, read the Upgrade Guide to Unity 6 Preview for information about how your project might be affected.
Additional App IDs
to Steam ID Provider Editor Settings for Multiple App ID support.Gradient
, AnimationCurve
, ToggleButtonGroupState
, Unsigned Int, and Unsigned Long.PropertyField
for ToggleButtonGroupState
serialized properties.UnityObjectRef<>
to enable unmanaged references to Unity assets. For example, instead of a Texture on a managed IComponentData, you can have a UnityObjectRef<Texture>
on an unmanaged IComponentData
.IComponentData
ISystem
IJobEntity
EntityQuery
using WithNone<T>
on an enable component wasn’t inserting a necessary job dependency.EntityQuery
singleton methods now correctly handle cases where the query contains enableable components.System.API
.BatchRendererGroup
API to draw GameObjects with GPU instancing. This reduces the number of draw calls and frees CPU processing time.BatchRendererGroup
API. You can use this setting to cull specific batches.IRenderPipelineResources
interface that allows you to add new settings groups in the Graphics Settings window.IRenderPipelineGraphicsSettings
InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More infoIRenderPipelineGraphicsSettings
.CustomPostProcessOrder
.For a complete description of new features and improvements in URP, refer to What’s new in URP.
8192x8192
option to Shadow texture resolution for the Main Light and Additional Lights.ScriptableRendererFeature
that uses a custom VolumeComponent
.For a complete description of new features and improvements in URP, refer to What’s new in HDRP.
NetworkManager.OnConnectionEvent
, -ServerIsHost
, -InstantiateAndSpawn
, and more.OverrideAutomaticNetcodeBootstrap
MonoBehaviour to your first build scene.AlwaysRelevantQuery
that you can use to specify general rules for relevancy without specifying it ghost by ghost.Added BatchScaleImportanceDelegate
, a new version of the importance scaling function that works in batches. It is not required to set both the ScaleImportance and the BatchScaleImportance function pointers. If the BatchScaleImportance is set, it is the preferred.Updated Multiplayer Play Mode to version 1.0. Use it to test multiplayer functionality without leaving the Unity Editor. For more information, refer to the Multiplayer Play Mode documentation.
Released the Dedicated Server package that you can use to switch a project between the server and client role without the need to create another project. For more information, refer to the Dedicated Server package documentation.
Updated the Multiplayer Tools package to version 2.1.0, adding Network Scene Visualization as a new visual debugging tool. For more information, refer to the Multiplayer Tools documentation.
Improved the behavior of Project manifestEach Unity project has a project manifest, which acts as an entry point for the Package Manager. This file must be available in the <project>/Packages
directory. The Package Manager uses it to configure many things, including a list of dependencies for that project, as well as any package repository to query for packages. More info
See in Glossary files by repopulating them with default dependencies if the files are empty or full of whitespace.
BakeTexture
and BakeTrailsTexture
scripting methods..aab
files to the Google Play Store. You have an option to upload the symbols package separately as a zip file with your .apk
or .aab
files. You can create symbol files with .so.sym
or .so.dbg
and the legacy .so
extensions..androidlib
Plug-inA set of code created outside of Unity that creates functionality in Unity. There are two kinds of plug-ins you can use in Unity: Managed plug-ins (managed .NET assemblies created with tools like Visual Studio) and Native plug-ins (platform-specific native code libraries). More infounityLibrary
. You can now configure .androidlib
to depend on unityLibrary
, and thus expand an activity by overriding UnityPlayerActivity
..xcframework
plugins support.Added support for Apple’s visionOS platform.
LocationService
methods and properties in Web platform:
Start()
Stop()
isEnabledByUser
lastData
status
Added the ability to copy and paste to and from the Unity player.
GetLastHeading()
SetHeadingUpdatesEnabled()
IsHeadingUpdatesEnabled()
GetHeadingStatus()
IsHeadingAvailable()
Added support for the Compass API.
Added support for mobile browsers.
Implemented the Emscripten 3.1.38 toolchain.
Added support for indirect Dispatch Rays (part of DXR 1.1). The method is similar to RayTracingShader.Dispatch
, but the three dispatch dimensions are retrieved from a GraphicsBuffer. Added RayTracingShader.DispatchIndirect
and a new CommandBuffer.DispatchRays
signature. Added SystemInfo.supportsIndirectDispatchRays
capability status.
Released version 1.1.0 of Memory ProfilerA window that helps you to optimize your game. It shows how much time is spent in the various areas of your game. For example, it can report the percentage of time spent rendering, animating, or in your game logic. More info
See in Glossary. Refer to the Memory Profiler package documentation for details.
Added the SpeedTree9Importer, which supports .st9 files exported by SpeedTree Modeler 9 and includes the following:
.cg
), URP, and HDRP renderers (.shadergraph
).Added a new tab view to list and manage locks in the Version ControlA system for managing file changes. You can use Unity in conjunction with most common version control tools, including Perforce, Git, Mercurial and PlasticSCM. More info
See in Glossary feature of Unity.
ShaderKeyword
declared in Shader Graph.Added support for Foveated Rendering on Vision Pro.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.
When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.
More information
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising. Some 3rd party video providers do not allow video views without targeting cookies. If you are experiencing difficulty viewing a video, you will need to set your cookie preferences for targeting to yes if you wish to view videos from these providers. Unity does not control this.
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.