Game Dev Digest — Issue #31 - Improving Performance, Developer Tools, Asset Sales, and Plenty More
Tags: gamedev, unity3d, csharp, news
Published: 2020-02-14 13:59:08

###Issue #31 - Improving Performance, Developer Tools, Asset Sales, and Plenty More

![Issue #31 - Improving Performance, Developer Tools, Asset Sales, and Plenty More](https://gamedevdigest.com/assets/social-posts/issue-31.jpg)

This week's digest brings you more great optimization articles. Tune your performance to 11!

There are also some great developer tips including both coding and tools. Check out the videos for some inspiration, and follow that up with some sweet deals on assets below.

Enjoy!

---

[**Unity Performance: CPU Slicing Secrets**](https://thegamedev.guru/unity-performance/cpu-slicing-secrets/)  - The common wisdom says "profile, optimize, repeat". Let me warn you: this won't always work. Optimizing low-hanging fruits can gain you a whole millisecond in a day. But when those are gone, speeds of 0.1 milliseconds gains per week can become normal. When that happens, you need other tools such as the Unity CPU Slicing technique.
[_The Gamedev Guru_](https://thegamedev.guru/unity-performance/cpu-slicing-secrets/)

[**How on-demand rendering can improve mobile performance**](https://blogs.unity3d.com/2020/02/07/how-on-demand-rendering-can-improve-mobile-performance/)  - It’s not always desirable to render a project at the highest frame rate possible, for a variety of reasons, especially on mobile platforms. Historically, Unity developers have used Application.targetFrameRate or Vsync count to throttle the rendering speed of Unity. This approach impacts not just rendering but the frequency at which every part of Unity runs. The new on-demand rendering API allows you to decouple the rendering frequency from the player loop frequency.
[_Unity_](https://blogs.unity3d.com/2020/02/07/how-on-demand-rendering-can-improve-mobile-performance/)

[**Instancing and Material Property Blocks**](https://www.ronja-tutorials.com/2020/02/11/material-property-blocks.html)  - By default objects with different materials cannot be instanced together and switching drawcalls is one of the main performance sinks of rendering. Material property blocks (MPBs) allow us a way around that which we can use to change properties on a per object basis.
[_Ronja Böhringer_](https://www.ronja-tutorials.com/2020/02/11/material-property-blocks.html)

[**Making our Unity Analyzers Open-Source**](https://devblogs.microsoft.com/visualstudio/making-our-unity-analyzers-open-source/)  - Here at the Visual Studio Tools for Unity team our mission is to improve the productivity of Unity developers. In Visual Studio 2019 we’ve introduced our Unity Analyzers, a collection of Unity specific code diagnostics and code fixes. Today we’re excited to make our Unity Analyzers Open-Source.
[_Microsoft_](https://devblogs.microsoft.com/visualstudio/making-our-unity-analyzers-open-source/)

[**Achieve beautiful, scalable, and performant graphics with the Universal Render Pipeline**](https://blogs.unity3d.com/2020/02/10/achieve-beautiful-scalable-and-performant-graphics-with-the-universal-render-pipeline/)  - Universal Render Pipeline is a powerful, ready-to-use solution with a full suite of artist tools for content creation. You should use this rendering pipeline if you want to make a game that has full Unity platform reach with best-in-class visual quality and performance. We covered the benefits of the Universal Render pipeline in this blog post. In this blog post, we’ll dive into how the Universal Render Pipeline was used to create the vertical slice Boat Attack demo.
[_Unity_](https://blogs.unity3d.com/2020/02/10/achieve-beautiful-scalable-and-performant-graphics-with-the-universal-render-pipeline/)

[**I made an operating system UI within Unity. Thoughts?**](https://old.reddit.com/r/Unity3D/comments/ey5eta/i_made_an_operating_system_ui_within_unity/)  - About Project Glass: Glass is a simulated operating system user interface (UI) project and it is being made with Unity 2018.4. It is not a real OS, although everything in the package is functional and can be changed easily. Read more on the [Reddit](https://old.reddit.com/r/Unity3D/comments/ey5eta/i_made_an_operating_system_ui_within_unity/) and [Hacker News](https://news.ycombinator.com/item?id=22290756) threads.
[_michsky_](https://old.reddit.com/r/Unity3D/comments/ey5eta/i_made_an_operating_system_ui_within_unity/)

[**Porting to Shadergraph**](https://twitter.com/phi6/status/1226915425222610944)  - Finally ported my old particles to HDRP shadergraph! Recompile VFX uses 4 different shaders. Here's how we made them (thread).
[_Phi Compile_](https://twitter.com/phi6/status/1226915425222610944)

[**Perfect Water Shaders - 1.4.0 Caustics and Foam Update**](https://www.patreon.com/posts/perfect-water-1-33941315)  - Now Perfect Water Shaders can really be called PERFECT! This update gives you beautiful caustics, which can be projected on any solid geometry in your water surface. It does not use Projector component, all this stuff is a part of the shader. And also, finally, the thing, everyone were waiting for - water foam! It generates automatically close to the solid objects in the water.
[_Stanislav Maramygin_](https://www.patreon.com/posts/perfect-water-1-33941315)

[**Temp Memory Reuse**](https://jacksondunstan.com/articles/5475)  - Temp memory is backed by a fixed size block that’s cleared by Unity every frame. Allocations on subsequent frames return pointers to this same block. The allocated memory therefore isn’t unique. How much of a problem is this? Today we’ll do some experiments to find out!
[_JacksonDunstan.com_](https://jacksondunstan.com/articles/5475)

[**What experts expect from enterprise augmented reality and virtual reality in 2020**](https://blogs.unity3d.com/2020/02/12/what-experts-expect-from-enterprise-augmented-reality-and-virtual-reality-in-2020/)  - Industry experts and analysts anticipate 2020 will be a breakthrough year for AR and VR in the enterprise sector. Wonder why? We invited 15 AR/VR leaders to share their perspectives and insights in our new report “Top 2020 Trends: Enterprise AR & VR.”
[_Unity_](https://blogs.unity3d.com/2020/02/12/what-experts-expect-from-enterprise-augmented-reality-and-virtual-reality-in-2020/)

[**Reference Image Viewer Editor Window**](https://unitycoder.com/blog/2020/02/13/reference-image-viewer-editor-window/)  - If you are working on a single monitor, and/or need to have some reference images in view. Here’s a small editor plugin to show a texture on a window.
[_unitycoder.com_](https://unitycoder.com/blog/2020/02/13/reference-image-viewer-editor-window/)

[**ReadOnlyAttribute.cs**](https://gist.github.com/jfranmora/e2d2758bd4ac0ef63d7f854571d704c8)  - I wrote a custom property to mark variables as ReadOnly! You can get if from here.
[_Juan Francisco Mora Palomino_](https://twitter.com/JfranMora/status/1226987679386079233)

[**Conditional Attributes**](https://bitbucket.org/KnightPista/unity-conditional-attributes/src/default/)  - Conditional attributes that can be used to show/hide script variables in editor based on some other variable values.
[_Stefan Sincak_](https://twitter.com/RFuchss/status/1227262144284176386)

[**Using Implicit Operators For Serialization**](https://twitter.com/BinaryImpactG/status/1227166997571624966)  - Want to create save files? Need a way to serialize #unity base types? Write small classes to help you with this. Check out this example for Vector3. It uses implicit operators to convert data to objects and vice versa.
[_Binary Impact_](https://twitter.com/BinaryImpactG/status/1227166997571624966)

[**How to make a Developer Console in Unity**](https://www.youtube.com/watch?v=usShGWFLvUk)  - Let's create a Developer Console in Unity so that we can easily automate repetitive actions such as giving items to the player or changing scene.
[_Dapper Dino_](https://twitter.com/DapperDino4/status/1227018048533680130)

[**Unity Console Clear Shortcut**](https://www.anton.website/unity-console-clear-shortcut/)  - Are you compulsively spamming that “Clear” button on the console after every message? Well, then I have great news for you! Copy the following script, paste it anywhere you like and you will be able to compulsively spam CTRL+Q!
[_Anton Semchenko_](https://www.anton.website/unity-console-clear-shortcut/)

[**Interactive Butterfly Flocking**](https://medium.com/@sebastianshearer/interactive-butterfly-flocking-ea68fe12d278)  - Our butterfly system in Unity is finished! Read up on how we accomplished it!
[_Sebastian Shearer_](https://twitter.com/AFKSociety/status/1227957260581842946)

[**Unity 2020.1.0 Alpha 23**](https://unity3d.com/unity/alpha/2020.1.0a23)  - Version 2020.1.0a23 has been released.
[_Unity_](https://unity3d.com/unity/alpha/2020.1.0a23)

## Videos

[![Coding Adventure: Portals](https://gamedevdigest.com/assets/images/fcf8487c29b657b97dd8a08c3650bfb3.png)](https://www.youtube.com/watch?v=cWpFZbjtSQg&amp;feature=youtu.be)
[**Coding Adventure: Portals**](https://www.youtube.com/watch?v=cWpFZbjtSQg&amp;feature=youtu.be)  - Experimenting with portals, for science.
[_Sebastian Lague_](https://www.youtube.com/watch?v=cWpFZbjtSQg&amp;feature=youtu.be)

[**Unity 2019.3 — New Features for Programmers**](https://www.youtube.com/watch?v=so-NWYKwGNk&amp;feature=youtu.be)  - Unity 2019.3 was released on January 27, 2020, and it's packed with a ton of great new features. In this video, I'll share some of my favorite ones for programmers.
[_Infallible Code_](https://www.youtube.com/watch?v=so-NWYKwGNk&amp;feature=youtu.be)

[**Realtime Animation and Lighting in Unity! (Tutorial)**](https://www.youtube.com/watch?v=SXMxfSp6YPQ)  - Want to learn how to optimize lighting for high quality visuals in realtime animation? Let's check out how Unity Technologies did it in our animation Sherman!
[_Unity_](https://www.youtube.com/watch?v=SXMxfSp6YPQ)

[**How to make a HEALTH BAR in Unity!**](https://www.youtube.com/watch?v=BLfNP4Sc_iA)  - Let's create a simple health bar using the Unity UI-system!
[_Brackeys_](https://www.youtube.com/watch?v=BLfNP4Sc_iA)

[**Simple Tower Defense AI in Unity (Place Towers, Fire Projectiles)**](https://www.youtube.com/watch?v=Hp0ovwSC4FE&amp;feature=youtu.be)  - Let's make some simple Tower Defense AI. Place towers and Fire Projectiles at Enemies in range. Upgrade Tower Range and Damage.
[_Code Monkey_](https://www.youtube.com/watch?v=Hp0ovwSC4FE&amp;feature=youtu.be)

[**Unity Shader Graph - Fire Wings Effect Tutorial**](https://www.youtube.com/watch?v=k79imESSLzs&amp;feature=youtu.be)  - Fire Wings, or any kind of Magic Wing effect, is an VFX that has been used in many games, as something that is part of a Character, as an ability or as a way of transforming or evolving a personage into something majestic and really powerful.
[_Gabriel Aguiar Prod._](https://www.youtube.com/watch?v=k79imESSLzs&amp;feature=youtu.be)

[**TextureLab -- Free & Open Source Texture Tool**](https://www.youtube.com/watch?v=ffOoFn4Fffk&amp;feature=emb_title)  - TextureLab is a free and open source procedural texture generation tool, clearly inspired by Substance Designer. Featuring direct Unity material output, you can quickly and easily generate PBR textures in TextureLab.
[_Gamefromscratch_](https://www.youtube.com/watch?v=ffOoFn4Fffk&amp;feature=emb_title)

## Assets

[![Big Music Bundle (Adventure, Epic, Orchestral)](https://gamedevdigest.com/assets/images/bcdae024-5f1b-4271-9105-a478fc03fb32.jpg)](https://assetstore.unity.com/packages/audio/music/orchestral/big-music-bundle-adventure-epic-orchestral-65484?aid=1011l8NVc)
[**Big Music Bundle (Adventure, Epic, Orchestral)**](https://assetstore.unity.com/packages/audio/music/orchestral/big-music-bundle-adventure-epic-orchestral-65484?aid=1011l8NVc)  - 76% OFF SALE!

Great library of high quality powerful, epic, cinematic action and adventure tracks! Promote your projects, games or videos with this HQ music!

Part of the [Mega Game Music Collection](https://assetstore.unity.com/packages/audio/music/orchestral/mega-game-music-collection-54687?aid=1011l8NVc) which is also at 33% off right now.
[_Muz Station Productions_](https://assetstore.unity.com/packages/audio/music/orchestral/big-music-bundle-adventure-epic-orchestral-65484?aid=1011l8NVc) **Affiliate**

[**Asset Store: 2D Sale**](https://assetstore.unity.com/?on_sale=true&amp;orderBy=1&amp;aid=1011l8NVc)  - Through February 16, 2020, customers can save 30% on select 2D asset store purchases. Start building your 2D game with powerful assets!
[_Unity_](https://assetstore.unity.com/?on_sale=true&amp;orderBy=1&amp;aid=1011l8NVc) **Affiliate**

[**Multi-Scene Loader**](https://github.com/PixelWizards/com.pixelwizards.utilities/blob/master/Documentation~/multisceneloader.md)  - Adds a new multi-scene loading system for Edit or Runtime use cases. Unity provides the ability to work with multiple additively loaded scenes at a single time, however there is no 'out of the box' system for handling the loading / unloading of the various scene configurations. This makes working on a multi-user project more complicated than necessary, and most teams end up implementing something similar.
[_Mike Wuetherick_](https://github.com/PixelWizards/com.pixelwizards.utilities/blob/master/Documentation~/multisceneloader.md) *Open Source*

[**Humble Best Of Polygon Game Dev Bundle**](https://www.humblebundle.com/software/best-of-polygon-game-dev?partner=unity3dreport)  - Create a polygonal style game in Unity or Unreal engine with this bundle of low poly asset packs! Each pack features heaps of 3D assets including characters, vehicles, buildings, props, environments, and FX to create computer, console, mobile or VR/AR games.

$391 WORTH OF AWESOME STUFF
[_Humble Bundle_](https://www.humblebundle.com/software/best-of-polygon-game-dev?partner=unity3dreport) **Affiliate**

[**Smart Lighting 2D**](https://assetstore.unity.com/packages/tools/particles-effects/smart-lighting-2d-112535?aid=1011l8NVc)  - Winner of the Best Development Tool in the Unity Awards 2019. Smart Lighting 2D is a lightweight and powerful tool to setup lighting for 2D scene very easily. Currently 30% off!
[_FunkyCode_](https://assetstore.unity.com/packages/tools/particles-effects/smart-lighting-2d-112535?aid=1011l8NVc) **Affiliate**

## Spotlight

[![Core Decay](https://gamedevdigest.com/assets/images/7c57362377b3134e96081074af62b801.png)](https://www.coredecay.com/)
[**Core Decay**](https://www.coredecay.com/)  - Core Decay is an upcoming retro FPS for mobile and PC. Explore derelict facilities, uncover a vast conspiracy, install cybernetic upgrades as you gain levels, and find a ton of unique weapons and powerups in an old-school shooter inspired by classics such as Doom, Quake and Descent.

Visit their site for links to their devblog, sub-reddit, discord and more to follow along with development.
[_coredecay.com_](https://www.coredecay.com/)



---

You can subscribe to the free weekly newsletter on [GameDevDigest.com](https://gamedevdigest.com)

This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in this article.