How To Use ChatGPT With Unity: Embed A Runtime Compiler With ChatGPT #4 @dilmerv
How To Use ChatGPT With Unity: Embed A Runtime Compiler With ChatGPT #4  @dilmerv
Uploaded January 2023 | Updated November 2026, 1 hour ago
In today’s video I continue my Unity ChatGPT video series by walking you through how to embed Roslyn C# compiler in Unity with .NET Standard 2.1 and also how to integrate it to our ChatGPT prototype by adding a Roslyn Code Runner script which will be responsible for running ChatGPT generated code.

πŸ“£ Consider becoming a Patreon today patreon.com/dilmerv by getting my β€œFull Source Code” tier and πŸ’‘ What do you get from Patreon ?
πŸ‘‰ Access to this video GitHub repo + all code I work on for each video
πŸ‘‰ Access to special Patreon discord group where I can answer questions

πŸ“šHow To Use ChatGPT with Unity | Chapters:
00:33 Creating a Visual Studio Class Library project with .NET Standard 2.1
01:22 Adding Roslyn C# compiler nugget packages
01:47 Adding Runtime Loader nugget package
02:03 Modifying Project to allow to copy assemblies to bin directory
03:33 Adding a Roslyn Code Runner MonoBebaviour
19:20 Adding a ChatGPT Extensions static class to handle parsing ChatGPT generated code
26:41 ChatGPT And Roslyn Demos with a few prompts

πŸ“Œ Support me by Subscribing to avoid missing future videos!
youtube.com/dilmerv

πŸ“Œ Support me in Patreon so I can keep doing stuff like this for free!
patreon.com/dilmerv

πŸ“Œ Get XR & game development tips from me in Twitter
twitter.com/dilmerv

πŸ₯½ Learn & Get my XR Training from:
learnxr.io

πŸ‘‰ My Blog / πŸ”₯ Newsletter (Subscribe to get up to date XR news)
blog.learnxr.io

#chatgpt #chatgpttutorial #unity
How To Use ChatGPT With Unity: Embed A Runtime Compiler With ChatGPT #4Oculus Quest 2 Hands 2.0 Releases Today !Apple visionOS Object Tracking Is Here! BUT DOES It Work Well?Step-By-Step Guide: Mapping My YouTube Studio With Immersal ARHow to Track QR Codes & Keyboards In Your VR/MR Game or App?visionOS Development Fundamentals - RealityView Attachments, Systems, & More!Oculus Hand Pose Recorder Is Here (Full Unity VR Tutorial)Meta Interaction SDK Hand Grab Pose LIVE Recorder Sneak Peek !How To Use ChatGPT With Unity During Runtime | My Early PrototypeUltraleap Hand Tracking With META QUEST 2 And Unity Requirements !Meta Quest Pro With 4 Monitors In Mixed Reality (MacOS Ventura & Windows 11)Brilliant Labs Monocle: The Worlds Smallest AR Glass Is Here!
Dilmer Valecillos |

How To Use ChatGPT With Unity: Embed A Runtime Compiler With ChatGPT #4

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER