{"id":13589375,"url":"https://github.com/pixeltris/USharp","last_synced_at":"2025-04-08T09:32:42.529Z","repository":{"id":44440205,"uuid":"150801173","full_name":"pixeltris/USharp","owner":"pixeltris","description":"C# plugin for Unreal Engine 4","archived":true,"fork":false,"pushed_at":"2020-05-16T05:48:49.000Z","size":9347,"stargazers_count":335,"open_issues_count":18,"forks_count":58,"subscribers_count":44,"default_branch":"master","last_synced_at":"2024-08-01T16:15:11.747Z","etag":null,"topics":["csharp","ue4-plugin","unrealengine"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pixeltris.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-28T22:38:18.000Z","updated_at":"2024-06-30T07:38:15.000Z","dependencies_parsed_at":"2022-07-13T08:10:57.934Z","dependency_job_id":null,"html_url":"https://github.com/pixeltris/USharp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixeltris%2FUSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixeltris%2FUSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixeltris%2FUSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixeltris%2FUSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixeltris","download_url":"https://codeload.github.com/pixeltris/USharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223314097,"owners_count":17125003,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","ue4-plugin","unrealengine"],"created_at":"2024-08-01T16:00:29.132Z","updated_at":"2024-11-06T09:30:54.880Z","avatar_url":"https://github.com/pixeltris.png","language":"C#","funding_links":[],"categories":["Scripting","Game Development"],"sub_categories":["Unreal Engine: Resources"],"readme":"# USharp\n\nUSharp is a plugin for Unreal Engine (4.23) which allows for programming in C#.\n\nThis project adapts various parts of mono-ue https://mono-ue.github.io/ and is roughly similar but has support for Mono, .NET Framework and .NET Core. The C++ code used is mostly PInvoke methods and the equivalent mono-ue backend code is [mostly written in C#](https://github.com/pixeltris/USharp/tree/master/Managed/UnrealEngine.Runtime/UnrealEngine.Runtime/Internal).\n\n_This project currently isn't usable for most use cases. There are a lot of bugs and lacking features. [Check back soon for updates!](https://github.com/pixeltris/USharp/projects/2)_\n\nJoin the gitter chat room for quick help / discussion https://gitter.im/USharp/Lobby\n\n# Features\n\n- Write C# using UObject exposed types (AActor, AGameMode, UActorComponent, etc). Define new UObject types and inherit existing ones. Exposed C# types can then be used in (or extended by) Blueprint.\n- Access to [Unreal's reflection system](https://www.unrealengine.com/en-US/blog/unreal-property-system-reflection) (UClass, UFunction, UProperty, etc). \n- Hotreload\n- Dynamically switch between .NET Framework, .NET Core and Mono for an improved debugging / runtime experience without having to reopen the editor\n- Supports Windows, Mac and Linux\n\n# Plugin Setup\n\n[See the wiki on how to setup the plugin](https://github.com/pixeltris/USharp/wiki/Plugin-Setup)\n\n# Issues / caveats\n\n- This project depends on a lot of PInvoked functions which could potentially behave differently on different C++ compilers. **This project may not work on some target platforms.**\n- Like mono-ue this project depends on lots of generated code and IL weaving. It probably isn't the best for performance and there is a huge amount of generated code everywhere.\n- The weaved IL currently seems to break edit-and-continue debugging (issue with cecil?)\n- There is currently too much marshaling on structs / collections (list, map, set). Marshaling needs to be redesigned to avoid copies of entire collections / structs on trivial calls between C# / native code. Additionally marshaling of delegates needs to be redesigned (various issues such as being referenced as a copy of the delegate).\n\n---\n\n**_Why does this project exist? Why wasn't this instead contributions to mono-ue?_** Originally this project was just a way to access the UObject system from C# and ended up basically being a copy of mono-ue. The mono-ue compile times / debugging process made it hard to contribute starting with little knowledge of Unreal.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixeltris%2FUSharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixeltris%2FUSharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixeltris%2FUSharp/lists"}