C# Unity

Open-source C# projects categorized as Unity

Top 23 C# Unity Projects

  • ILSpy

    .NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!

    Project mention: What’s your favorite dev story so far in your career? | reddit.com/r/cscareerquestions | 2022-11-13

    My job was simple: using the trial .exe, reverse-engineer their file format. Simple enough - I love this shit. The biggest roadblock: the trial version doesn't allow you to save files, so we were kind of screwed. Then, after a few minutes of playing around, I noticed that the UI looks suspiciously familiar to a .NET program. So I went to Google to see if there's any .NET disassemblers out there, and luckily, there is! I opened the .exe in the disassembler, and next thing I knew I was looking at .NET intermediate code. My next step: figure out how to enable the save button. Turns out the "trial version" is actually the full program, just with an additional routine at the beginning that checks for a license. I was able to find this in the IC, and found the exact point at which trial mode is activated: a single jump statement. I simply turned this into a NOOP, re-assembled the binary, and next thing I knew, I had successfully hacked one of our competitors' software.

  • ml-agents

    The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.

    Project mention: Witch hut walking on its physical legs | reddit.com/r/Unity3D | 2022-11-05
  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • AssetStudio

    AssetStudio is a tool for exploring, extracting and exporting assets and assetbundles.

    Project mention: How do I open the sharedassets audio files? | reddit.com/r/MySummerCar | 2022-11-22
  • lively

    Free and open-source software that allows users to set animated desktop wallpapers and screensavers.

    Project mention: Can lively handle H265? What's the best Codec/Settings? | reddit.com/r/LivelyWallpaper | 2022-11-25
  • UniRx

    Reactive Extensions for Unity

    Project mention: I'm making this turn-based auto battler called Order Automatica. I decided to try using event driven architecture using async/await and UniTask and it made it so easy! I'd love any game design feedback people are willing to give. Link to demo in comments | reddit.com/r/Unity2D | 2022-08-27

    Interesting, I hadn't heard of UniTask. I use UniRX in my projects which I think solves similar problems in a bit of a different way.

  • Entitas

    Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity

  • MixedRealityToolkit-Unity

    Mixed Reality Toolkit (MRTK) provides a set of components and features to accelerate cross-platform MR app development in Unity.

    Project mention: Stereokit – open-source mixed reality library by Microsoft | news.ycombinator.com | 2022-07-20

    How does this relate to or overlap with Microsoft MRTK? https://github.com/microsoft/MixedRealityToolkit-Unity


  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • open-project-1

    Unity Open Project #1: Chop Chop

    Project mention: Overview of clean architecture in Unity? | reddit.com/r/unity | 2022-11-10

    And for anyone else looking for real-world examples: this repo is interesting: https://github.com/UnityTechnologies/open-project-1

  • Il2CppDumper

    Unity il2cpp reverse engineer

    Project mention: Is there a way to recompile after using Il2CppDumper? | reddit.com/r/REGames | 2022-10-16

    Basically the title; I decompiled a game and intend to mod its behavior, so I used a Il2Cpp dumper that seems pretty popular (https://github.com/Perfare/Il2CppDumper).

  • UniTask

    Provides an efficient allocation free async/await integration for Unity.

    Project mention: Async void VS Threads | reddit.com/r/Unity3D | 2022-11-18

    Great comment. The Unity task library is UniTask.

  • MessagePack for C# (.NET, .NET Core, Unity, Xamarin)

    Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]

    Project mention: Dupes in bonelab? | reddit.com/r/BONELAB | 2022-10-05

    Thanks, I'm sure I'll need it, though I do have my own platform with serialization set up already that I'm hoping I can port relatively easily (It's backended with MessagePack C# which is a lovely serializer for Unity.)

  • UIEffect

    UIEffect is an effect component for uGUI element in Unity. Let's decorate your UI with effects!

    Project mention: How are highly polished 2D UIs achieved? | reddit.com/r/Unity2D | 2022-08-19

    mob-sakai's UI Effect

  • wavefunctioncollapse

    Walk through an infinite, procedurally generated city (by marian42)

    Project mention: Wave Function Collapse in action! This is an example of how levels are generated for r/EternalMist game. Steam-link at first comment. | reddit.com/r/indiegames | 2022-11-05

    There is also this article and the source code for it: https://marian42.de/article/wfc/ https://github.com/marian42/wavefunctioncollapse

  • Mirror

    #1 Open Source Unity Networking Library

    Project mention: How to make a multiplayer game where the game is hosted on players computer. | reddit.com/r/unity | 2022-11-23

    Mirror Networking That might be the option that will give you the best productivity

  • Harmony

    A library for patching, replacing and decorating .NET and Mono methods during runtime

    Project mention: Reverse engineering integrity checks in Black Ops 3 | reddit.com/r/ReverseEngineering | 2022-11-19

    https://github.com/pardeike/Harmony harmony lets you patch functions at runtime, kind of like a dll injection / memory edit

  • MathUtilities

    A collection of some of the neat math and physics tricks that I've collected over the last few years.

    Project mention: Animation rigging for Inverse Kinematics | reddit.com/r/Unity3D | 2022-10-27

    Here is guide where CCD Inverse Kinematics is explained: https://zalo.github.io/blog/inverse-kinematics/ And also from same tutorial some Unity CCDIK solution you can try. https://github.com/zalo/MathUtilities/tree/master/Assets/IK/CCDIK

  • MagicOnion

    Unified Realtime/API framework for .NET platform and Unity.

    Project mention: .NET Framework 4.8 and .NET 6 | reddit.com/r/dotnet | 2022-01-20

    Having used it on a previous project, I found maintaining the protocol buffers quite tiresome. However, if I wanted to use it again, I'd be inclined to look into the MagicOnion project, which, in its own words:

  • crest

    An advanced ocean system implemented in Unity

    Project mention: is Crest for HDRP free? | reddit.com/r/Unity3D | 2022-09-23
  • Deform

    A fully-featured deformer system for Unity.

  • Unity

    GitHub for Unity

    Project mention: Unity& Git: How do you Prevent Scene Merge Conflicts | reddit.com/r/gamedev | 2022-10-25
  • UnityLibrary

    :books: Library of all kind of scripts, snippets & shaders for Unity

  • ParticleEffectForUGUI

    Render particle effect in UnityUI(uGUI). Maskable, sortable, and no extra Camera/RenderTexture/Canvas.

    Project mention: How can I make particles in my Unity 3D project act as a UI element? I don't want them to interact with the 3D environment. Is it possible? | reddit.com/r/Unity3D | 2022-08-25

    I use this for my UI particles. It's free, open source and works great! https://github.com/mob-sakai/ParticleEffectForUGUI

  • xNode

    Unity Node Editor: Lets you view and edit node graphs inside Unity

    Project mention: making a captcha but also it's an RPG (in progress, devlog in comments) | reddit.com/r/badUIbattles | 2022-06-04

    There's also XNode which is an open-source node-based framework for manufacturing systems in unity which I quite like, but the learning curve is a bit steep. There's no real documentation per se, but there's plenty of tutorials on youtube (incl. mine, plug plug plug) so it is possible to pick up once you've got over the foibles of how it works.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-11-25.

C# Unity related posts


What are some of the best open-source Unity projects in C#? This list will help you:

Project Stars
1 ILSpy 16,398
2 ml-agents 13,663
3 AssetStudio 9,669
4 lively 9,172
5 UniRx 6,136
6 Entitas 5,917
7 MixedRealityToolkit-Unity 5,453
8 open-project-1 4,978
9 Il2CppDumper 4,525
10 UniTask 4,386
11 MessagePack for C# (.NET, .NET Core, Unity, Xamarin) 4,287
12 UIEffect 4,166
13 wavefunctioncollapse 3,867
14 Mirror 3,698
15 Harmony 3,601
16 MathUtilities 3,429
17 MagicOnion 2,943
18 crest 2,750
19 Deform 2,727
20 Unity 2,709
21 UnityLibrary 2,625
22 ParticleEffectForUGUI 2,619
23 xNode 2,586
Delete the most useless function ever: context switching.
Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.