UnrealSharp
  • Home
  • FAQ
  • Getting Started
    • Setup
    • Your First Script
    • Debugging
    • Packaging
  • Documentation
    • Classes
      • Properties
        • C++ Functions As C# Properties
        • C++ Properties with Getters/Setters
      • Functions
        • Flags
        • MetaData
      • Default Actor Components
      • Helper Methods
    • Structs
    • Enums
    • Interfaces
    • Delegates
    • Collections
      • TArray
      • TNativeArray
      • TSet
      • TMap
    • Multiplayer
      • Replicated Properties
      • RPCs (Remote Procedure Calls)
      • Replicated UObjects
    • Primary Data Assets
      • Loading Primary Data Assets
    • Loading Soft References
    • Trace Channels
    • Static Variables
      • FWorldStaticVar<T>
      • FGameStaticVar<T>
    • Logging
    • Async
    • Gameplay Tags
      • Gameplay Tag Container
    • Extension / Mixin Methods
    • Subsystems
    • Module Lifecycle
  • Links
    • Github Repository
    • Roadmap
    • Discord
Powered by GitBook
On this page
  • General
  • 1. What is UnrealSharp?
  • 2. Can I make a game with UnrealSharp?
  • 3. How do I download UnrealSharp?
  • 4. I’m coming from Unity with a C# background, is UnrealSharp a good fit for me?
  • 5. Can I use UnrealSharp for commercial projects?
  • 5. Does UnrealSharp support [ platform ]?
  • 6. Is there an ETA for [ feature ]?
  • 7. What features are being worked on?
  • 8. What are the system requirements for UnrealSharp?
  • Technical
  • 1. What is reflection?
  • 2. What is the difference between a binary and source build of the plugin?
  • 3. Do I need to use Blueprints?
  • 4. Do I need to use C++?
  • 5. What is the difference between new T() and NewObject<T>()>?
  • 6. Can I make a C# plugin?

FAQ

Frequently Asked Questions

PreviousHomeNextSetup

Last updated 6 months ago

General

1. What is UnrealSharp?

UnrealSharp is a plugin for Unreal Engine that allows developers to use C# for game development and editor tooling. It is designed to offer the same functionalities as Blueprint, and even more, providing a familiar environment for C# developers. It is developed with fast iteration in mind, so you can develop your games in C# with the engine open, and it will compile the code for you on the fly.

2. Can I make a game with UnrealSharp?

The plugin is not production ready yet, but the plan is yes you will be able to!

3. How do I download UnrealSharp?

You can compile a source build from the .

4. I’m coming from Unity with a C# background, is UnrealSharp a good fit for me?

It is recommended you have Unreal Engine experience and an engineer familiar with C++ to use UnrealSharp. Having an understanding of the and how they’re used side by side is extremely important to have knowledge on.

Additionally, UnrealSharp can only access what is exposed to , so similar to Blueprints you will still need to use C++ to expose certain systems or features. The plugin has an ongoing effort to help expose things to C# out of the box, such as subsystems, but you won’t be able to rely on that for everything.

5. Can I use UnrealSharp for commercial projects?

Absolutely! UnrealSharp is completely free of charge and open-source for both personal and commercial use.

5. Does UnrealSharp support [ platform ]?

6. Is there an ETA for [ feature ]?

To avoid setting expectations or putting stress on any contributors release dates are not provided. UnrealSharp is a passion project worked on in people’s free time, so it does not follow a schedule or deadlines.

7. What features are being worked on?

8. What are the system requirements for UnrealSharp?

Technical

1. What is reflection?

Due to all of Unreal systems being written in C++, if a class, struct, or function is not exposed to reflection, blueprints cannot access it. UnrealSharp utilizes reflection for generating C# code and communicating with Unreal, so it has the same restriction as blueprints.

2. What is the difference between a binary and source build of the plugin?

A binary build is a precompiled and packaged version that doesn’t need to be manually compiled by the end user. A source build is when the end user needs to download the source code and compile the code themselves for use.

3. Do I need to use Blueprints?

4. Do I need to use C++?

5. What is the difference between new T() and NewObject<T>()>?

Use NewObject<T>() for any classes inheriting from uobject. new T() does not work with constructing uobject’s, trying to would result in creating an object with no underlying uobject or blueprint subclass.

6. Can I make a C# plugin?

Not yet but it is planned.

The has a Supported Platforms section listing out the supported and planned platforms.

You can look at the for a look at what is currently in development and also on the todo list.

UnrealSharp requires the same system specifications as . Additionally, the is necessary to use this plugin.

You can read more about the Unreal reflection system , but in simple terms it’s how Unreal exposes C++ classes, functions, properties, and other types to engine systems such blueprints, replication, and garbage collection.

Due to UnrealSharp not being production ready and making quick changes we do not consistently release up-to-date binary builds. You will need to compile the source yourself. Here is a on how to set up an Unreal C++ project to start.

Blueprints is not just visual scripting, it’s an to your game assets. It is highly recommended to make blueprint subclasses of C# classes like you would with C++ so designers can easily control properties and functionality of your systems.

Most likely yes. UnrealSharp can only access what is exposed to like Blueprints, so you will need an engineer to use C++ to expose certain systems or features.

GitHub repository
Blueprint / C++ architecture
reflection
Home Page
Roadmap
Unreal Engine
.NET 9.0 SDK
here
resource
interface
reflection