{"id":13661373,"url":"https://github.com/coderiekelt/UnityCefSharp","last_synced_at":"2025-04-25T02:32:42.443Z","repository":{"id":79135612,"uuid":"352804537","full_name":"coderiekelt/UnityCefSharp","owner":"coderiekelt","description":"An implementation of CefSharp for Unity, utilizing a secondary process to facilitate rendering.","archived":false,"fork":false,"pushed_at":"2021-04-04T18:18:51.000Z","size":98,"stargazers_count":18,"open_issues_count":4,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-08-02T05:13:08.393Z","etag":null,"topics":["chromium","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coderiekelt.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-03-29T22:47:23.000Z","updated_at":"2024-07-10T01:25:24.000Z","dependencies_parsed_at":"2023-04-05T19:02:46.996Z","dependency_job_id":null,"html_url":"https://github.com/coderiekelt/UnityCefSharp","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/coderiekelt%2FUnityCefSharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderiekelt%2FUnityCefSharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderiekelt%2FUnityCefSharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderiekelt%2FUnityCefSharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderiekelt","download_url":"https://codeload.github.com/coderiekelt/UnityCefSharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223979326,"owners_count":17235375,"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":["chromium","unity","unity3d"],"created_at":"2024-08-02T05:01:33.564Z","updated_at":"2024-11-10T16:30:26.948Z","avatar_url":"https://github.com/coderiekelt.png","language":"C#","funding_links":[],"categories":["C\\#"],"sub_categories":[],"readme":"# UnityCefSharp\n\n**This project is under heavy development, and not production ready!**\n\nUnityCefSharp is an implementation of CefSharp aimed at Unity games. It utilizes an external process with mapped memory files and TCP to facilitate communication between Unity and the external process.\n\nThe reason for starting a new project is the lack of well documented and maintained alternatives, and a lack of UI frameworks for Unity that I like (a.k.a. are free.)\n\nYou can see this UI framework in action in the game [Era Roleplay](http://era-roleplay.com).\n\n## Projects within this solution\n### CefServer\nThis is the actual server application, and is running in the background to serve the CefClient.\n\n### CefShared\nContains shared classes, such as events and interprocess memory management.\n\n### CefClient\nContains everything you need to implement this within Unity.\n\n## Building\nCopy both `PostBuildServer.bat.dist` and `PostBuildClient.bat.dist` and remove the `.dist` part.\n\nChange `targetDir` to your desired target directory.\n\nLaunch the solution, and wait for the NuGet packages to install.\n\nSimply click \"Build Solution\" and enjoy!\n\n## Best practices\nIt's important to remember that in Unity, anything happening related to Unity objects needs to happen in the main thread.\n\nI have made some efforts to keep the FPS bearable by off-loading the actual loading and copying of the texture memory to a thread.\nNote that the renderer will run at a target framerate of 24 FPS by default, you can alter this by setting `CefInstance.TargetFPS` to your desired framerate. Be careful though, higher target = higher burden on the CPU!\n\nIf there is someone smarter than me out there that can implement a shared texture resource (with e.g. the native pointer of a texture) feel free to let me know!\n\nUntil that happens, be mindful of using this in your project. During my tests it takes around 3 to 5ms to generate a single frame (full stop, since the last update) on a resolution 2162x814 (in editor.)\n\nSee [Performance](https://github.com/coderiekelt/UnityCefSharp/wiki/Performance) for more information.\n\n## Getting started\nSee [Getting Started](https://github.com/coderiekelt/UnityCefSharp/wiki/Getting-started)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderiekelt%2FUnityCefSharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderiekelt%2FUnityCefSharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderiekelt%2FUnityCefSharp/lists"}