8 Ways You can Cause Memory Leaks in .NET
https://michaelscodingspot.com/ways-to-cause-memory-leaks-in-dotnet/
#memory #leaks #gc
https://michaelscodingspot.com/ways-to-cause-memory-leaks-in-dotnet/
#memory #leaks #gc
Michael's Coding Spot
8 Ways You can Cause Memory Leaks in .NET
Memory leaks are sneakily bad creatures. It's easy to ignore them for a very long time, while they slowly destroy the application. With memory leaks, your memory consumption grows, creating GC pressure and performance problems. Finally, the program will just…
Unity Libre Fracture
Free destruction lib wrapper for Unity
https://gitlab.com/dima13230/unity-libre-fracture/-/tree/master/
#destruction
Free destruction lib wrapper for Unity
https://gitlab.com/dima13230/unity-libre-fracture/-/tree/master/
#destruction
GitLab
Files · master · Dmitry Senyushkin / Unity Libre Fracture · GitLab
Unity Libre Fracture is a free and open source fracture system developed for Unity Engine
Llockham-Industries open sourced their asset Dynamic Decals, a fantastic decal system for Unity's Built-in Render Pipeline. This is what I've used for blood and bullet hole decals for years
https://mobile.twitter.com/_ericfreeman/status/1367654806047756288
Repo: https://github.com/EricFreeman/DynamicDecals
#decals
https://mobile.twitter.com/_ericfreeman/status/1367654806047756288
Repo: https://github.com/EricFreeman/DynamicDecals
#decals
Twitter
Eric Freeman
Llockham-Industries open sourced their asset Dynamic Decals, a fantastic decal system for Unity's Built-in Render Pipeline. This is what I've used for blood and bullet hole decals for years. github.com/EricFreeman/Dy… #unitytips #madewithunity #gamedev #indiedev…
GitHub - keijiro/Waifu2xBarracuda: Waifu2x Unity Barracuda implementation
Runtime image scaler
https://github.com/keijiro/Waifu2xBarracuda
#texture #scaling
Runtime image scaler
https://github.com/keijiro/Waifu2xBarracuda
#texture #scaling
GitHub
GitHub - keijiro/Waifu2xBarracuda: Waifu2x Unity Barracuda implementation
Waifu2x Unity Barracuda implementation. Contribute to keijiro/Waifu2xBarracuda development by creating an account on GitHub.
You can use custom shaders in the editor UI using EditorGUI.DrawPreviewTexture. I couldn't find a decent spinner solution so I made this twirly thing
https://mobile.twitter.com/zellah/status/1343928164553256960?s=20
#shader #editor
https://mobile.twitter.com/zellah/status/1343928164553256960?s=20
#shader #editor
Twitter
Daniel Zeller
#unitytips You can use custom shaders in the editor UI using EditorGUI.DrawPreviewTexture. I couldn't find a decent spinner solution so I made this twirly thing. #madewithunity
Here are over 150GB of free sound effects, royalty-free and commercially usable on your #gamedev projects
https://t.co/drSynbGOaD https://t.co/5pO4WD2xZx https://twitter.com/DJ_Link/status/1389885922032984065?s=20
#sound #assets
https://t.co/drSynbGOaD https://t.co/5pO4WD2xZx https://twitter.com/DJ_Link/status/1389885922032984065?s=20
#sound #assets
Twitter
David Amador 🐙
Here are over 150GB of free sound effects, royalty-free and commercially usable on your #gamedev projects sonniss.com/gameaudiogdc
Preview a Texture2D in the inspector, and theres no easy way to do it without making a custom editor. Lets fix that by making a PropertyDrawer!
https://mobile.twitter.com/LotteMakesStuff/status/1358167999899910144
#editor #customeditor
https://mobile.twitter.com/LotteMakesStuff/status/1358167999899910144
#editor #customeditor
Twitter
Lotte 'just an idiot' May 💖🍓🌈🐹🎮☕🍫🍩
Sup Friends! lets build an editor tool together, we haven't done that in AGES! I need to preview a Texture2D in the inspector, and theres no easy way to do it without making a custom editor. Lets fix that by making a PropertyDrawer! Its going to look like…
Retention: Ideas and solutions to keep players coming back to your gamе
https://blogs.unity3d.com/2021/03/29/retention-ideas-and-solutions-to-keep-players-coming-back-to-your-game/
#retention
https://blogs.unity3d.com/2021/03/29/retention-ideas-and-solutions-to-keep-players-coming-back-to-your-game/
#retention
Unity Technologies Blog
Retention: Ideas and solutions to keep players coming back to your gameリテンション:ゲームを遊び続けてもらうためのアイデアとソリューション - Unity Technologies…
Findings In the Unity 2021 Gaming Report show engagement levels for games on all platforms rose during 2020. Understandably, with COVID-19 resulting in lockdowns and therefore more indoor and downtime, people turned to games to pass the time. If developers…
A way to implement serializable dictionaries properly in Unity
https://mobile.twitter.com/fludvigsen_pub/status/1366079822322089987
Code: http://wiki.unity3d.com/index.php/SerializableDictionary
#editor #dictionary #serializable
https://mobile.twitter.com/fludvigsen_pub/status/1366079822322089987
Code: http://wiki.unity3d.com/index.php/SerializableDictionary
#editor #dictionary #serializable
Twitter
Fredrik Ludvigsen
After some serious thinking, trying and failing, I finally found a way to implement serializable dictionaries properly in Unity. It's not even much code. Check out wiki.unity3d.com/index.php/Seri… #unitytips
How we did the tutorial system in Academia: School Simulator: SSM – COFFEE BRAIN GAMES
Also it contains interesting approach for editor tools using reflection and instantiation of prefab with injecting values from editor fields added via reflection.
Part 1: https://coffeebraingames.wordpress.com/2021/02/14/how-we-did-the-tutorial-system-in-academia-school-simulator-part-1-ssm/
Part 2: https://coffeebraingames.wordpress.com/2021/03/07/how-we-did-the-tutorial-system-in-academia-school-simulator-part-2-actions/
Part 3: https://coffeebraingames.wordpress.com/2021/03/28/how-we-did-the-tutorial-system-in-academia-school-simulator-part-3-putting-them-all-together/
#tutorial #gametutorial #ftue
Also it contains interesting approach for editor tools using reflection and instantiation of prefab with injecting values from editor fields added via reflection.
Part 1: https://coffeebraingames.wordpress.com/2021/02/14/how-we-did-the-tutorial-system-in-academia-school-simulator-part-1-ssm/
Part 2: https://coffeebraingames.wordpress.com/2021/03/07/how-we-did-the-tutorial-system-in-academia-school-simulator-part-2-actions/
Part 3: https://coffeebraingames.wordpress.com/2021/03/28/how-we-did-the-tutorial-system-in-academia-school-simulator-part-3-putting-them-all-together/
#tutorial #gametutorial #ftue
COFFEE BRAIN GAMES
How we did the tutorial system in Academia: School Simulator, Part 1: SSM
I’ve been a game developer for more than a decade now. I can say that one of the technically challenging features to do is the guided tutorial. Tutorials are generally hard because they tend …
C# Tips: Be specific when handling Exception by using when statement
https://dev.to/kenakamu/c-tips-be-specific-when-handling-exception-4ke
#exception #when
https://dev.to/kenakamu/c-tips-be-specific-when-handling-exception-4ke
#exception #when
DEV Community
C# Tips: Be specific when handling Exception
Our program is great only when we handle exceptions appropriately. We all know that we can catch diff...
Linq Behind the Scenes. A comparison of the number of iterations
https://levelup.gitconnected.com/linq-behind-the-scenes-efd664d9ebf8
#linq
https://levelup.gitconnected.com/linq-behind-the-scenes-efd664d9ebf8
#linq
Medium
Linq Behind the Scenes
A comparison of the number of iterations in .NET 5 and .NET Framework
Async programming in .NET: Best practices
https://m.habr.com/en/company/jugru/blog/491236/
#async #await #tap
https://m.habr.com/en/company/jugru/blog/491236/
#async #await #tap
Habr
Async programming in .NET: Best practices
Появление async/await в C# привело к пересмотру того, как писать простой и корректный параллельный код. Зачастую, используя асинхронное программирование, программисты не только не решают проблемы,...
Unity. Scriptable Object и память
You have to explicitly set null to loaded SO when it is not needed for GC to collect resources, otherwise it is claimed to stay in memory.
https://dtf.ru/s/unity/672283-unity-noscriptable-object-i-pamyat
#so #memory #leak
You have to explicitly set null to loaded SO when it is not needed for GC to collect resources, otherwise it is claimed to stay in memory.
https://dtf.ru/s/unity/672283-unity-noscriptable-object-i-pamyat
#so #memory #leak
DTF
Unity. Scriptable Object и память — apcrol на DTF
Захотелось поделиться неожиданной для меня находкой, связанной с тем как выделяется память и как легко столкнуться с крупной утечкой, которую без перезапуска не почистить.
Releases · Perfare/AssetStudio · GitHub
Inspect assets inside your build and find what is odd.
https://github.com/Perfare/AssetStudio/releases
#buildsize
Inspect assets inside your build and find what is odd.
https://github.com/Perfare/AssetStudio/releases
#buildsize
GitHub
Releases · Perfare/AssetStudio
AssetStudio is a tool for exploring, extracting and exporting assets and assetbundles. - Perfare/AssetStudio
In my opinion adding gradients to materials is super cool and useful in so many use-cases but also kinda annoying in unity, so I made a material property attribute that just adds a gradient field and converts it to a texture
https://mobile.twitter.com/totallyRonja/status/1368704187580682240
#gradient #texture
https://mobile.twitter.com/totallyRonja/status/1368704187580682240
#gradient #texture
Twitter
Ronja✨
In my opinion adding gradients to materials is super cool and useful in so many use-cases but also kinda annoying in unity, so I made a material property attribute that just adds a gradient field and converts it to a texture. gist.github.com/totallyRonja/8……
5 Ways to Improve the Performance of C# Code for Free
Not really for free, always measure performance.
https://levelup.gitconnected.com/5-ways-to-improve-the-performance-of-c-code-for-free-c89188eba5da
#optimization #csharp
Not really for free, always measure performance.
https://levelup.gitconnected.com/5-ways-to-improve-the-performance-of-c-code-for-free-c89188eba5da
#optimization #csharp
Medium
5 Ways to Improve the Performance of C# Code for Free
Slow code is optional.
Real-time GPU accelerated per-triangle occlusion in Unity
https://www.alexisbacot.com/blog/per-triangle-occlusion-on-the-gpu-in-1ms-with-unity
Repo: https://github.com/AlexisBacot/UnityOcclusionPerTriangleGPU
#occlusion #gpu
https://www.alexisbacot.com/blog/per-triangle-occlusion-on-the-gpu-in-1ms-with-unity
Repo: https://github.com/AlexisBacot/UnityOcclusionPerTriangleGPU
#occlusion #gpu
Alexis Bacot
Real-time GPU accelerated per-triangle occlusion in Unity — Alexis Bacot
An algorithm for real-time per-triangle occlusion in Unity. We use procedural drawing, a render texture, a tricky shader, compute buffers, and two compute kernels to check the visibility of triangles directly on the GPU.