Roslyn C# - Runtime Compiler View on Asset Store (opens in new tab)

Package details

Latest version
1.9.2
Last updated
First released
Unity version
2021.3.43 or later
Package size
15.7 MB
Files
137
Favorites
437
Views in the past week
34

Price tracking

Last checked
Tracked since
Lowest recorded
$3.20 on

Keywords

Roslyn C# - Runtime Compiler

by Trivial Interactive (opens in new tab)

5.0 / 5 · 35 ratings

Ratings by stars
Number of ratings for each star rating
5 stars 34
4 stars 1
3 stars 0
2 stars 0
1 star 0
Price $16.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Roslyn C# - Runtime Compiler, 6 months Current $16.00; lowest $3.20; highest $16.00 in this period. $0 $10 $20 Jun Jul Aug Sep Oct Nov

Asset preview

1 / 4

Roslyn C# - Runtime Compiler screenshot 1

Roslyn C# - Runtime Compiler screenshot 1

About this asset

IMPORTANT - This version is now marked as legacy and will no longer receive new features, but will remain available with long term support and bug fixes. Check out Roslyn C# 2.0 which is the replacement, and existing users who purchased version 1.x will be entitled to a 64% discount when upgrading!

*Requires .Net 4.x or .Net standard API compatibility level

Roslyn C# allows runtime loading of assemblies and C# scripts using the Roslyn compiler making it easy to add modding support or in-game programming to your project. In addition, Roslyn C# also includes code security verification that allows you to specify a number of security restrictions that loaded code must adhere to including illegal namespaces and types. This makes it much safer to load 3rd party code from unknown sources.

Includes a small programming based game where the objective is to navigate a mouse out of a maze by writing code that performs the direction decision making.

Features

-Compile and run C# scripts at runtime

-Leverage the latest C# language features using the Roslyn C# compiler

-Fast execution. Once compiled, external scripts will run as fast as game scripts

-Allows modding support to be added easily

-Code security validation means that unsafe code can be identified and discarded

-Code security generates a detailed report upon failure containing information about illegal types used and every usage occurrence in the external code

-Simple and easy to use API for assembly, type and instance reflection

-Support for non-concrete communication using script proxies

-Automatic type construction using correct method (AddComponent, CreateInstance, new)

-Cached member tables for quick reflection

-All scripts and example are organised into namespaces to avoid type name clashes

-Fully commented partial C# source code included

-Comprehensive .chm documentation of the API for quick and easy reference

Platforms

Support for PC, Mac and Linux platforms.

Roslyn C# may work on other platforms without issue however we will only offer support for the officially supported platforms.

Android

Android is not officially supported however, many users have had success getting the asset to run on Android by following these steps

Forum | Discord | Documentation | Support | Website

From the publisher's Asset Store listing.