Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / [SOLVED] Error:Deleted font whilst it is still in use, this could cause a crash in main.agc at line 2251

Author
Message
guy_design
4
Years of Service
User Offline
Joined: 1st Mar 2017
Location:
Posted: 23rd Feb 2021 00:19
This post has been marked by the post author as the answer.
line 2251 : end
What wrong do I make?
How can I fix it?

The author of this post has marked a post as an answer.

Go to answer

Virtual Nomad
Moderator
15
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 23rd Feb 2021 01:41 Edited at: 23rd Feb 2021 01:43
regardless of the line # and the corresponding code, are you deleting a font while it is still in use somewhere?

ie, if you load a font, apply it to a text object, then delete the font, future use of the text object won't have the font to utilize.
[My Itch.io Home] [Now Playing]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[Google Forum Search]

Login to post a reply

Server time is: 2021-07-31 09:57:49
Your offset time is: 2021-07-31 09:57:49