Font Crash
Release Type: GitHub
Version: master
Platform(s): Windows 10
Describe the bug
To Reproduce Steps to reproduce the behavior:
- seleted Assets/SpriteFont
- modify the FontSource to System Font
Expected behavior A crash happened.
Screenshots
Log and callstacks
Additional context The Button's TextBlock shrunked; my repo:https://github.com/ly3027929699/TestStride
This problem occurred last night and was not solved until I switched to the release version. I recompiled it today and still have the problem. it's all right with the release version.
Adding this here because it seems likely related #1692 It seems like a threading issue for Runtime rasterized fonts as this does not happen conistantly. I only ran into this ysterday when I was trying to fix the SpriteFont sample project.
I think this was fixed by PR #1999 , but I might try to reproduce this on the latest release too just to be sure.
Could not repro on latest, likely fixed by #1999 as @NicusorN5 pointed out