So I'm having a weird problem. I have a spritefont in my game, and it is appearing on 1 layout when I create it but on another it is not appearing after the creation. Note, it was working before.
The spritefont displays "100" in debug mode. It is visible and has 100 opacity. Black colored. I've tried to enlarge the text size and it still is not working. I put a low scale for e.g 0.1 , not working either. Also, the color, size and scale is set during creation.
Strange thing is if I put the object out of view in the screen and destroy it at start of the layout.... it will now display when I create it. What? but why was it working on the layout before?
The spritefont is already on a layout (graveyard) which I don't use so the game knows the object, hence I don't have to put it on the same layout and destroy it at start.
Any ideas? I can't upload my project due to personal info.