loading...

Game Dev Digest — Issue #46 - Testing, Profile, Optimization. Game Dev Tutorials. What's New... All That And More

gamedevdigest profile image Game Dev Digest - The Newsletter On Unity Game Dev Originally published at gamedevdigest.com ・12 min read

Game Dev Digest - The Newsletter About Unity Game Dev (25 Part Series)

1) Issue #26 - CI, Cloud, Batching, Code Patterns, Shader How-Tos, Tweening, HDRP, Plenty Great Assets And Much More! 2) Game Dev Digest — Issue #27 - OpenUPM, UVs, Reducing Memory, DOTS, Sounds, and ML 3 ... 23 3) Game Dev Digest — Issue #28 - Geo/Vertex Shaders, Juice, Optimizing Addressables/Builds, Rendering Effects, Giveaways And Sales 4) Game Dev Digest — Issue #29 - Unity 2019.3, Shaders, Types & Memory, How Tos, And Free Courses And Assets 5) Game Dev Digest — Issue #30 - Cheatsheets & Checklists, Perf & A11y, Sprites, 2D Shadergraph, Free Effects, Plus More 6) Game Dev Digest — Issue #31 - Improving Performance, Developer Tools, Asset Sales, and Plenty More 7) Game Dev Digest — Issue #32 - AR/VR, Character Controllers, Scene Loading, HDR Graphics, And More 8) Game Dev Digest — Issue #33 - HDRP, DOTS, Optimizing, Effects and More! 9) Game Dev Digest — Issue #34 - Editor Tips & Extensions, URP & HDRP, Input Systems, and More! 10) Game Dev Digest — Issue #35 - Animating, ScriptableObjects, Multiplayer, and More! 11) Game Dev Digest — Issue #37 - Tutorials And How-to Guides, Profiling, Free Assets And Deals, Plus Plenty More! 12) Game Dev Digest — Issue #38 - Coding, Editor Enhancements, Visuals & Shaders, Animations, Physics, XR, And Much More 13) Game Dev Digest — Issue #39 - Shader Graph, DOTS, Handy Editor Scripts, How-To Platformers, Roguelikes, FPS, and Much More 14) Game Dev Digest — Issue #40 - VFX, Tools, Performance, Cards, Holes, Asset Sales, And A Ton More 15) Game Dev Digest — Issue #41 - Mobile, Devops, Shader Graph, Terrain, And Tons More! 16) Game Dev Digest — Issue #42 - ML & AI, Effects, Workflows, Performance, VR, And Much More! 17) Game Dev Digest — Issue #43 - Lighting, Builds, VFX, C#... All That And More! 18) Game Dev Digest — Issue #45 - C#, Shaders, VFX Graph, Prefabs, And Plenty More! 19) Game Dev Digest — Issue #46 - Testing, Profile, Optimization. Game Dev Tutorials. What's New... All That And More 20) Game Dev Digest — Issue #47 - C#, Patterns, Nintendo-style Effects, Free Project Starters, and lots more! 21) Game Dev Digest — Issue #48 - ML Agents, AI, Testing, Hi & Low Res, Shaders, And Much More! 22) Game Dev Digest — Issue #49 - Level Building, Rigging, Meshes, Lighting, And So Much More! 23) Game Dev Digest — Issue #50 - Learning, Optimization, AR, Utilities, and More 24) Game Dev Digest — Issue #51 - Scenes, Physics, Tools, And Much More 25) Game Dev Digest — Issue #52 - Animation, Shader Graph, Performance, Plus More!

Issue #46 - Testing, Profile, Optimization. Game Dev Tutorials. What's New... All That And More

Issue #46 - Testing, Profile, Optimization. Game Dev Tutorials. What's New... All That And More

Stylin' and profilin'! This week's post is heavy on the optimization, testing, and profiling.

Game dev tutorials, shader implementations, C# coding, useful assets, and more round out the rest of the content as you'd expect. Enjoy!


Using Unity Prefabs and GameObjects only for data. - When we want to store only data, we normally tend to use ScriptableObjects since it is a more natural way. It is not common, however, to use GameObjects and Prefabs for data only (no logic at all) but that doesn’t mean it is not useful, au contraire mon ami, and I will share why.
Gemserk

Optimize your projects with Burst Compiler 1.3 - Since the first stable release of Burst Compiler a year ago, we have been working to improve the quality, experience, and robustness of the compiler. As we’ve released a major new version, Burst 1.3, we would like to take this opportunity to give you more insights about why we are excited about it and what’s coming next.
Unity

Unity Memory Profiler: Where Are You Wasting Your Game’s Memory? (Part 1) - In this post, you will show you how to use the experimental Unity Memory Profiler package to find exactly where you are wasting memory on your game.
The Gamedev Guru

Learn How to Use the Unity Profiler By Example - I wrote this article to provide a step-by-step guide on how to use the Unity Profiler tool to diagnose a performance problem, and use the data gathered to optimise the code.
gamedevunboxed.com

How To Render 10,000 Animated Characters With 20 Draw Calls In Unity - Unfortunately, rendering and managing a large number of game objects is at the expense of CPU and GPU performance, because there may be too many Draw Calls, if the game object is animated, it will also involve the CPU skinning overhead, so we must find other solutions. So, this article will talk about using GPU to achieve efficient rendering of animated characters and reduce the skinning overhead on the CPU side.
Jiadong Chen

Code Coverage: Spot gaps in your tests - If you’re aiming for test-driven development, you need to make sure that your code is getting properly covered by tests as you go. Originally released with 2019.3, the Code Coverage preview package helps you make sure you haven’t missed anything by providing you a birds-eye visual overview of your code.
Unity

C++ For C# Developers: Part 2 – Primitive Types and Literals - The series continues today with our first actual C++ code! Today we’ll start with the absolute fundamentals—primitive types and literals—on which we’ll build through the rest of the series. As basic as this topic sounds, some of it can be pretty shocking when coming from a language like C#.
JacksonDunstan.com

5 more things about enums in C# - We've already seen some of the things you should know about enums in C#. Here we'll dive into Flagged enumerations, serialization and so on.
code4it.dev

NativeArray.SortJob() is fast… or is it? - Since Unity is making it easier to write multithreaded code, there must be multithreaded sorting algorithms out there that I could use. I found lots of them but I found them hard to translate into jobs code. What I realized is that maybe Unity already has one and they do albeit it’s just partly multithreaded. I found NativeArrayExtensions.SortJob() in the DOTS forum. Like any curious programmer, I compared it with my Quicksort implementation.
Coffee Brain Games

Cinemachine 2.6 brings you precision, improved workflow, and little bits of magic - Everything in your Unity project passes through the lens of a camera, so you need to squeeze everything you can out of that camera. While much of this magic is expressed through render pipelines – light, shadow, focus, color – other dimensions are critical: camera position, motion, and timing.
Unity

Civilization VI Fog of War - The fog of war effect in Civilization VI is a perfect example for a simple compute shader setup. If you always wanted to learn about the basics of those, this tutorial is for you.
lexdev.net

How to make a Bridge Building Game in Unity - In this two-part tutorial series, we will be creating a 2d bridge building game, where we need to build a bridge, and then our yellow characters will test if it holds them.
URocks!

Creating zombie enemies in Unity [Part 3 of Unity gamedev series] - In this part I will show you how to generate enemies on the NavMesh. I will make them chase me and collide with objects properly.
Ing. Jan Jileček

Climbing - This is the eighth installment of a tutorial series about controlling the movement of a character. It adds support for climbing vertical surfaces.
Catlike Coding

Making Sense of FixedUpdate, Update, and LateUpdate - If you have been working with unity for any length of time you no doubt have run into the question of weather or not to use Update(), FixedUpdate() or LateUpdate() to run your game code. At the surface each appear to do the same thing with some subtle but significant differences. Understanding these differences is key to getting your game to run smoothly and properly.
Robert Carlson

Unity Releases - Unity version 2020.1.0 Beta 10 and 2020.2.0 Alpha 12 have been released.
Unity

Videos

Learn what's in Unity 2020.1 beta - Unite Now
Learn what's in Unity 2020.1 beta - Unite Now - In this video, Unity evangelist Ashley Alicea spotlights some of the new features and improvements available in Unity 2020.1 beta. Learn more about our current and upcoming 2020 technology.
Unity

Dissolve Effect in Unity Shader Graph and URP - We can create a dissolve effect in Shader Graph using a handful of nodes!
Daniel Ilett

Fixing Grid Layouts in Unity with a Flexible Grid Component - Learn how to build a menu with switchable panels and a flexible grid layout tool in Unity!
Game Dev Guide

Deep dive with post processing color grading - Unite Now - In this Learn Live interactive session, work with a Unity Certified Instructor through a series of mini-challenges to add a style, mood, or effect of your choice using Color Grading.
Unity

First on Stadia: How two indies built Get Packed with Unity - Unite Now - Interested in bringing your game to Stadia? Hear how indies Coatsink and Moonshine Studios teamed up for Get Packed, Unity’s inaugural “First on Stadia” timed-exclusive release on the new platform.
Unity

Introduction to profiling in Unity - Unite Now - Profiling is one of the best ways to optimize your game. Learn how to use Unity’s highly effective profiling tools and how to interpret the data they produce.
Unity

Third Person Movement in Unity - Let's learn how to make a solid third person controller with a moving camera!
Brackeys

Unity 3D : Optimize Your Textures - This is a quick video of how to optimize your textures.
Thomas Klein

Physics Constraints in Games Part 2 - Contact Constraints - Collision detection algorithms mentioned in the video: Separating Axis Theorem (SAT), The Gilbert-Johnson-Keerthi Algorithm (GJK), The Expanding Polytope Algorithm (EPA).
Ming-Lun Chou

Sword Effect Particle System - Particle System in Unity 2020.
VDO GAMES

Getting Realistic Shadows In Unity 2019! (Tutorial) - Here is a tutorial that you have been asking for - Realistic Shadows in Unity 2019.3 with HDRP! Sounds epic? It IS epic!
Sykoo

Object Pools in Unity Tutorial - Learn how to add Object Pools to your games to help conserve memory!
gamesplusjames

Introduction to VR in Unity - PART 5 : GRAB INTERACTION - In this episode we will learn how to grab an object, use an object that we're grabbing such has fire a bullet and grab the object with an offset.
Valem

Create your own A.I. in Unity | ML-Agents Tutorial 2020 - In this video I'm going to show you how to create an A.I. in Unity from scratch.
Bot Academy

How To Integrate Steam With Your Unity Game - Integrating Steam with your game.
Dapper Dino

Assets

HUMBLE RPG GAME DEVELOPMENT ASSETS BUNDLE: 2D ART, MUSIC AND SOUND EFFECTS
HUMBLE RPG GAME DEVELOPMENT ASSETS BUNDLE: 2D ART, MUSIC AND SOUND EFFECTS - Build the role-playing game of your dreams with this bundle of assets! Make your game look and sound the way you want with Human Fantasy Animated Pack, Pixel Art Medieval Fantasy Characters, RPG Music Pack - Complete Collection, and more.

$871 WORTH OF AWESOME STUFF
PAY $1 OR MORE
Humble Bundle Affiliate

Asset Store May Sale - The Unity Asset Store May Sale has started and ends on May 31. Customers can save up to 50% on select complete projects and template assets.
Unity Affiliate

xNode - Thinking of developing a node-based plugin? Then this is for you. xNode is super userfriendly, intuitive and will help you reap the benefits of node graphs in no time. With a minimal footprint, it is ideal as a base for custom state machines, dialogue systems, decision makers etc.
Thor Brigsted Open Source

EditorNote - Add to any gameobject to provide scene-view annotations
Mike Wuetherick Open Source

CopyPasteValues - Looking for an alternative to Copy and Paste Component values that supports inheritance? Well here it is.
Karl Jones Open Source

Selection Identity tool (FREE) - This is a tool that will aid you while selecting things in unity. The tool will display the name of the object your mouse if hovering over and will be selected on click. The name of the object will be displayed in 2 or 3 locations on the screen depending on the user’s choice. Additionally, the window over which the mouse is hovering is also displayed in the tool window.
BlankRip Affiliate

Blender To Unity FBX Exporter - I made an FBX exporter for Blender that exports FBX files compatible with Unity3d's coordinate and scaling system. No more unwanted rotations, no more clutter with FBX options. Name the file, export, import into Unity, and it just works.
Angel García "Edy" Open Source

HUMBLE LEARNING GAME CODING AND DEVELOPMENT BUNDLE - Master in-demand skills that can help you to land your dream job, start your own business, or just have fun with an awesome new hobby! Get on-demand, project-based courses featuring video lessons, PDF notes, full source code, and offline access. Learn anywhere, anytime, and on any device!

$1,250 WORTH OF AWESOME STUFF
PAY $1 OR MORE
Humble Bundle Affiliate

Unity Shaders - A bunch of shader examples created in Unity. Fully interactive shader gallery containing 30+ shaders! (HLSL & ShaderGraph). Quickly swap backgrounds between skybox / solid colors. Simple orbit camera script included! (w/ sensitivity & zoom support). Free to use!
Adrian Miasik Open Source

Option.cs - Option works like Nullable, but is compatible with Unity 2020's serialization system. I learned that Unity 2020 can serialize generic types, including generic structs, so I made a working ?-like type called Option. Have fun.
yokljo Open Source

Unity Performance Checklist for 2020+ - For Game Developers, Who're Sick of Working Hard to Release Games That Get Negative Reviews
Make your gameplay mechanics truly playable by learning the secrets behind CPU Optimization, to stop frustrating your players with frequent freezes Deliver top-notch, high-performing graphics using the GPU Performance Checklist, so you immerse your users in your unique art style Get your game to load under 5 seconds with the Memory & Loading Times checklist, so your audience doesn't give up on your game
The Gamedev Guru

Spotlight

The Last Faith
The Last Faith - A Dark Gothic Metroidvania Game.

Immerse yourself into the mysterious world of The Last Faith. Imagine, you are living an adventure at the edge of reality in a gloomy world drowned by superstition. It's another world, a remote land built upon dark and Gothic architectures, right at the centre of a supernatural vortex, an unknown place.

You will be fighting and slaying abominations and strange creatures of the night, each one bigger than others and more fearsome. You will master the art of several different weapons, each of them with a different style of combat and move set. You will also learn tons of magical abilities, be able to cast spells and increase the power of your weapons by buffing them with ancient elemental powers.
[You can back the game on Kickstarter]
Kumi Souls Games Ltd


You can subscribe to the free weekly newsletter on 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.

Game Dev Digest - The Newsletter About Unity Game Dev (25 Part Series)

1) Issue #26 - CI, Cloud, Batching, Code Patterns, Shader How-Tos, Tweening, HDRP, Plenty Great Assets And Much More! 2) Game Dev Digest — Issue #27 - OpenUPM, UVs, Reducing Memory, DOTS, Sounds, and ML 3 ... 23 3) Game Dev Digest — Issue #28 - Geo/Vertex Shaders, Juice, Optimizing Addressables/Builds, Rendering Effects, Giveaways And Sales 4) Game Dev Digest — Issue #29 - Unity 2019.3, Shaders, Types & Memory, How Tos, And Free Courses And Assets 5) Game Dev Digest — Issue #30 - Cheatsheets & Checklists, Perf & A11y, Sprites, 2D Shadergraph, Free Effects, Plus More 6) Game Dev Digest — Issue #31 - Improving Performance, Developer Tools, Asset Sales, and Plenty More 7) Game Dev Digest — Issue #32 - AR/VR, Character Controllers, Scene Loading, HDR Graphics, And More 8) Game Dev Digest — Issue #33 - HDRP, DOTS, Optimizing, Effects and More! 9) Game Dev Digest — Issue #34 - Editor Tips & Extensions, URP & HDRP, Input Systems, and More! 10) Game Dev Digest — Issue #35 - Animating, ScriptableObjects, Multiplayer, and More! 11) Game Dev Digest — Issue #37 - Tutorials And How-to Guides, Profiling, Free Assets And Deals, Plus Plenty More! 12) Game Dev Digest — Issue #38 - Coding, Editor Enhancements, Visuals & Shaders, Animations, Physics, XR, And Much More 13) Game Dev Digest — Issue #39 - Shader Graph, DOTS, Handy Editor Scripts, How-To Platformers, Roguelikes, FPS, and Much More 14) Game Dev Digest — Issue #40 - VFX, Tools, Performance, Cards, Holes, Asset Sales, And A Ton More 15) Game Dev Digest — Issue #41 - Mobile, Devops, Shader Graph, Terrain, And Tons More! 16) Game Dev Digest — Issue #42 - ML & AI, Effects, Workflows, Performance, VR, And Much More! 17) Game Dev Digest — Issue #43 - Lighting, Builds, VFX, C#... All That And More! 18) Game Dev Digest — Issue #45 - C#, Shaders, VFX Graph, Prefabs, And Plenty More! 19) Game Dev Digest — Issue #46 - Testing, Profile, Optimization. Game Dev Tutorials. What's New... All That And More 20) Game Dev Digest — Issue #47 - C#, Patterns, Nintendo-style Effects, Free Project Starters, and lots more! 21) Game Dev Digest — Issue #48 - ML Agents, AI, Testing, Hi & Low Res, Shaders, And Much More! 22) Game Dev Digest — Issue #49 - Level Building, Rigging, Meshes, Lighting, And So Much More! 23) Game Dev Digest — Issue #50 - Learning, Optimization, AR, Utilities, and More 24) Game Dev Digest — Issue #51 - Scenes, Physics, Tools, And Much More 25) Game Dev Digest — Issue #52 - Animation, Shader Graph, Performance, Plus More!

Posted on May 29 by:

gamedevdigest profile

Game Dev Digest - The Newsletter On Unity Game Dev

@gamedevdigest

A free, weekly newsletter containing Unity game dev news, articles, tips, tricks, assets, videos and more.

Discussion

markdown guide