Comments (10)
That's strange. It works for me.
from project-dollhouse.
That's... strange. Maybe it's a threading issue.
from project-dollhouse.
Actually, this exact error happens to me from time to time; I was busy testing out @RHY3756547's buy mode creating a skill lot, but it does happen (albeit rarely) in the master branch, too.
from project-dollhouse.
Always works for me... I'm on OP hardware though.
from project-dollhouse.
I am too 😄
from project-dollhouse.
It's periodic but, boy, when it does happen, it'll either stop after one restart or a few dozen.
from project-dollhouse.
For the purpose of this screenshot, I had it uncommented. Which is why you see the // Die!
above. X)
from project-dollhouse.
A simple fix, before the problem is fully resolved, would be to put it in a try loop which would display "FPS: ??" if it happens; but it depends on the frequency of the exception. FPS should really be an integer, so I would use:
try
{
SBatch.DrawString(m_SprFontBig, "FPS: " + ((int) FPS).ToString(), new Vector2(0,0), Color.Red);
}
catch (Exception e)
{
if e.ToString().ToLower().Contains("text contains characters that cannot be resolved by this spritefont")
{
SBatch.DrawString(m_SprFontBig, "FPS: ??", new Vector2(0,0), Color.Red);
}
}
from project-dollhouse.
Issue has been fixed in merge #167.
from project-dollhouse.
Yep, invalid characters don't render anymore. I was getting the crash with the McDonalds object when it tried to draw ™, which isn't baked into our spritefont.
from project-dollhouse.
Related Issues (20)
- 115 HOT 19
- PD Patcher update for old version that references xna 3.1...
- 1px or so difference in the Lot name / City name at the top of the screen HOT 1
- Additional prerequisites for Windows 10 HOT 5
- SimBox disables Z-buffer for drawing (solution: move to render target) HOT 3
- Map view expecting Live Mode? HOT 3
- I downloaded TSO but.. HOT 4
- Hidden flags in blueprints are not working
- Attempting to join a *OFFLINE* property...
- Crash - Windows 7 32bit with intel 965 chipset
- UISkinBrowser has a weird offset HOT 2
- UITextEdit needs to update only once at the same time
- Twitch integration
- Complete remaining UI elements
- UITextEdit needs to integrate support for scroll bars.
- Lines in UITextEdit behave incorrectly when the first line is deleted HOT 1
- When scrolling text upwards, the text will go out of the UITextEdit control's region.
- Find out why m_Lines goes OOB in UITextEdit2
- Find out why m_Lines goes OOB in UITextEdit2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from project-dollhouse.