MonoGame 3.8.5 Preview feedback and known issues #9155
SimonDarksideJ
announced in
Announcements
Replies: 2 comments 9 replies
|
Hello! Just here to share that I successfully updated the 2D Tutorial to Content Builder. The only problem I had was cleaning up the old Content folder. Beyond that no problem by now. Thanks for all and congrats for the almost-release! |
1 reply
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The MonoGame 3.8.5 previews are here
This discussion is a central point for feedback regarding the
3.8.5release and the previews, as well as up to date information on any known issues while everything is being tested out for release.When will
3.8.5be released?The short answer is, when it is ready.
The last thing the foundation wants is for any developer, whether they are a newcomer to MonoGame or shipping games with MonoGame to be blocked or have issues.
Everyone's help is wanted
No matter your experience with MonoGame, if something is giving you pause, raising an eyebrow or confusing with getting started, let us know, so we can improve it for both you and everyone else.
Let us all make the next release of MonoGame the best it can be!
(we will also be releasing our 2026 roadmap, following the new funding announcement, very soon, likely in the next Open Hours meeting)
Updated Templates
The
3.8.5release adds new templates for testing the preview features of the delivery, which includes a setup for the new Content Builder, the Vulkan and DX12 new graphics backends. These can be found in the following templates (found when installing the preview.3 c# templates)ImportsandMonoGamePlatformdefinitions to your platform project to automatically build it.Note
If you do not have the
iosorandroidworkloads installed, then simply remove those entries from the StartKitslnxsolution definition to avoid issues when opening the projectImportant
It goes without saying, but you CANNOT build the DX12 or WindowsDX platforms on a Mac or Linux. So if you are on a Mac or Linux, exclude these platforms from your
slnxsolution.Known issues
These are the current known issues with the latest preview (currently
preview.3).targetsdefinition is "hard coded" for debug builds (fix applied for next release)Workaround is to replace
debugwith$(Configuration)in the<ContentCommand>definition..targetsdefinition is that is is not "RuntimeIdentifier" aware. If you try to compile using a specific runtime identifier, it will fail. Investing options.Resolved issues
These are the previously identified issues that have been resolved in the latest preview (currently
preview.3)(fix) Song now implemented for DX12/Vulkan
(fix) Issue identified in the Vulkan Initialization, which tripped up Rider but not VS, fixed
(fix) The issue has been resolved.
3.8.x Upgrade
If you are using an existing MonoGame project, ensure it is up to date with MonoGame
3.8.4using the existing upgrade guides (especially if coming from older versions of MonoGame, such as3.8.2).If you are still intending to use the MGCB Editor as with preview releases, then updating to the MonoGame
3.8.5previews for testing is fairly easy, this guide has been prepared for installing and updating to the latest preview:If you want to try out the new Content Builder solution, then these guides will help you test it out:
3.8.5.preview.2 upgrade
In
3.8.5-preview.2we improved the project integration for the content builder by moving the majority of the Build Actions into the Builder project using a newBuildContent.targetsdefinition.So in your platform
csproj, instead of:We now simply use
This reduces the complexity of Platform projects and moves the configuration for content building into the Content project itself.
When migrating, ensure you copy the
BuildContent.targetsfrom a new template and then update your project as above.Note
This is not critical and is only advised, the original setup will still continue to work.
3.8.5.preview.3 upgrade
No major changes of note, with the exception of a new, more cross-platform supported
.targetsfile for the Content Builder. Simply generate a new "Builder" project and copy the file, alternatively, update yourBuildContent.targetsto:Builder.csprojadds a new "Property"Note
This is currently hardcoding to
net9.0which is the target framework for the Content Project, if you upgrade tonet10.0(which is untested atm, you will need to manually update this. We are looking into solutions to make it more dynamic.Content Builder Strategies
Based on Community feedback, adding this section for reference while the documentation is being finalized.
The following strategies exist when using the new "Content Builder" solution with your project:
Importsdefinition in each platform, including aMonoGamePlatformdefinition.BuildContent.targetsin your platform without themsbuildcommand.ImportsorTargetdefinitions in your project, Building content is manual or handled through another process.We are open to feedback about any other scenarios developers are trailing.
Note
We have three sample repositories demonstrating using automation with the Content Builder here:
Feedback
Please report any additional feedback here on any issues found while testing out the previews.
We would like to thank our community for their support in testing out the new preview features before the full release to improve the use for everyone ❤️
MonoGame Foundation
All reactions