Repository navigation
Add support for detecting Unity CoreCLR and IL2CPP on .NET - #948
Open
jeanclaudegrenier wants to merge 1 commit into
Open
jeanclaudegrenier wants to merge 1 commit into
jeanclaudegrenier wants to merge 1 commit into
Conversation
SDK.UnityCoreCLR matches Unity.Private.Scripting.dll in the player's <Game>_Data/Managed (or macOS Contents/Resources/Data/Managed) folder, which only ships with the CoreCLR scripting backend. SDK.UnityIL2CPPNet matches il2cpp_data/Resources/ System.Private.CoreLib.dll-resources.dat, which only ships with IL2CPP builds made against the .NET class libraries.
Lifeismana
reviewed
Nov 21, 2026
| trueSKY = (?:^|/)TrueSky(?:PluginRender_MT|PluginRender_MD|UI_MD)\.dll$ | ||
| Ultraleap = (?:^|/)LeapC?\.dll$ | ||
| UnityBurst = (?:^|/)lib_burst_generated\.(?:dll|so|bundle)$ | ||
| UnityCoreCLR = (?:^|/)(?:[^/]+_Data|Contents/(?:Resources/)?Data)/Managed/Unity\.Private\.Scripting\.dll$ |
Collaborator
There was a problem hiding this comment.
looking at the generated test strings, this regex isn't great
just looking for Managed/Unity.Private.Scripting.dll isn't enough?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SteamDB app page links to a few games using this
Unity just released an alpha for Unity 7 using CoreCLR, to our knowledge no games have been published with CoreCLR/il2cpp on .net bcl yet. We wanted to land this change as early as possible so we can tell when such games do start landing.
Brief explanation of the change
Adds two SDK detections for Unity's .NET (CoreCLR) runtime: