Unity 5.4.0 Beta 4

Select the runtime platforms of your choice from the list below (the desktop runtime is included as standard) or, to install the full complement of runtime platforms, use the download assistant installer above.

5.4.0b4 Release Notes

Known Issues

  • 2D: Opening Sprite-Packer window and packing might result in a crash on Mac Editor. To work-around, try entering play-mode and then use Sprite-Packer window
  • Changing the active graphics API in the Editor while a Canvas is in the scene will crash the Editor. As a workaround, open only a new, empty scene before changing graphics API.
  • Fallback from Deferred to Forward when rendering lightmapped objects with mixed-mode light - can be fixed by introduction of baked shadow mask for lightmapped objects
  • GPU Instancing: When drawing meshes with instancing shaders by Graphics.DrawMesh, Unity fails to render with correct mesh.
  • Legacy Animation: Changes to the lights in 5.3 have caused an issue so that it currently is not possible to animate lights using the Legacy animation system. Fix arrived in 5.3, and is being forward ported soon.
  • Saving a scene on OSX might throw the error in the console: "TLS Allocator ALLOC_TEMP_THREAD..". Happens only on OSX El Capitan (10.11.1). Doesn't happen on OSX 10.10;
  • VR: Standalone players build with Unity 5.4.0 beta 4 with VR support show a vertically stretched Unity logo on the splash screen
  • WebPlayer build is not removed. Expect its removal in a future beta.


  • WebGL: Removed .htaccess file generation


  • Analytics: Added support for Analytics on AppleTV device.
  • Android: Android: Marshmallow - Added the possibility to disable the permission dialog by adding metadata to the activity
  • Compute: Support #pragma enable_d3d11_debug_symbols just like for regular shaders
  • IL2CPP: Remove warnings from generated C++ code when compiling with clang.
  • iOS/IL2CPP: Add support for Xcode 7.3 (don't use __declspec attributes).
  • Scene Management: Added events onSceneLoaded, onSceneUnloaded, onActiveSceneChanged to SceneManager


  • Android: Android: Fixed remote frame debugger
  • Android: Android: Marshmallow - Fixed issues when querying for custom permissions
  • Android: Android: Mono - Fixed crash on startup with Unity Ads when stripping is enabled
  • Compute: Avoid constant buffer overwrites when passing too wide data (e.g. Vector4 for a float3 constant)
  • Editor: Fixed a bug in the property diff recorder would insert property modification on the prefab asset if it was being edited in the inspector
  • GI: Added a note in Lighting window when reflection source is not set
  • GI: Fixed missing ambient when AmbientGI is set to Baked, but BakedGI is disabled.
  • GI: Make substances work with baked transparency.
  • Graphics: Fixed profiling related information (SetGpuProgramName) performance issue in development player builds. (to 5.3 too)
  • Graphics: Graphics: Fix performance regression in dynamic batching on Adreno and Mali GPUs
  • Graphics: Textures imported as cubemaps now are properly marked as non-readable if import option says so. Saves memory! (coming to 5.3 too)
  • Shaders: Some optimizations for surface shader importing time.
  • tvOS: Fix rendering path selector in player settings
  • Windows Store: Fix serialization error, Unity will no longer serialize fields in Windows Store Apps which are of the same type as the class where this field is located, for ex., if you have a class Test and you have a field inside public Test MyField;. This behavior was already present in Editor, but not in Windows Store Apps.

The following are changes and fixes to 5.4.0 features and regressions...


  • Editor: Fixed a crash when building assetbundles using the old build API
  • Editor: Made it possible to replace a prefab asset with a different prefab asset
  • Graphics: Fixed crash when calling Graphics.DrawMesh with null material
  • Graphics: Fixed zoomable game view not rendering correctly on DX12 and on DX11/9 when running with -force-gfx-direct
  • Graphics: Previous fix for "camera preview sometimes not taking manually overriden projection matrix into account" was copying too much camera state in Camera.CopyFrom, fix that.
  • Graphics: Use better texture resizing algorithms when importing textures: Mitchell for downsizing, cubic spline for upsizing
  • IL2CPP: Do not incorrectly free blittable arrays marshaled as [In,Out] parameters.
  • IL2CPP: Implement support for Assembly.GetReferencedAssemblies and Module.GetTypes()
  • IL2CPP: Prevent a NotImplementedException exception from occurring in il2cpp.exe when the Unbox opcode is used with certain generics. This usually occurs when an assembly is built with Visual Studio.
  • IL2CPP: Remove and unnecessary Box used to null check before calling a virtual method.
  • tvOS: Add support for procedural textures and dynamic global illumination
  • VR: Fix infinite splash screen display in VR mode

Third Party Notices

For more information please see our Open Source Software Licenses FAQ on the Unity Support Portal

We use cookies to ensure that we give you the best experience on our website. Visit our cookie policy page for more information.

Got it