BBtext Runtime Error In Text Editor

BBtext Runtime Error
Since I Updated My Gdevelop Version My BBtext Extensions Or Editor Is Not Working I Thought This Was A Problem Coming From The Engine But It seems Like Its Only On That Particular Project
Breakdown:
Any Time I Open Up A Scene Im Greeted With This Error Message:


At First I was Confused And Tried Re-Updating Gdevelop
But Then It Still Gave Me The Same Problem I Then Decided To Check My Objects And Then When I clicked On My BBtext Object This Is What Came Up.

It Was A Problem Coming From The Runtime Folder And The BBtext Extension Itself. I Don’t Really Know What To do This Only Applies To This Particular Project Itself The Rest Seem To Be Doing Just fine but this project is the only one with this problem

Project_Download

Hi!

At first look, if i was you, i’ll look at the code (or evenements) of your extension.
It’s always possible that new GDevelop version gives conflict(s) with your extension

Say us what if it is the source of the problem.

A+
Xierra

I Already Tried But I Can’t Really Make heads Or Tails Of It To Make Things Clear This Is Coming From The BBtext Object In-Built Into Gdevelop Not An External Extension. As For What The Source Of The Problem Is? No Idea All I Know Is I Updated My Gdevelop Yesterday Opened It Up this morning And That’s What I saw But If You Do Need Reference Here Is The Error Code I got From The Inspector:


It Seems To Be Coming From The BBtext Extension From Gdevelop’s Resources>Extensions Folder Specifically a file called JS.Extension

What is strange, in my eyes, is it is only NOK on this project!
On your others projects, you say it’s Ok.

Xierra

The error is about a BBText object having missing properties. I believe it can happen in this sceneraio:

  • The computer is shut down during an autoupdate of GDevelop. This result to missing buit-in extensions (for instance the BBText object).
  • The project is open with an half-installed GDevelop. Since the extension is missing, GDevelop doesn’t know how to read the BBText properties and load empty objects which make some view crash.
  • The user still saved the project which saved empty objects and corrupted the project.

We are planning to forbid to launch GDevelop if built-in extensions are missing to avoid these kind of issues.

I Think I Shut It Down While updating Cuz at the time something came up. Man Then That Explains It So Till Then What Can I do? Wait For A new version Or Something I can Adjust In My Project Folder?

I guess that you have to go back to the previous project file you backed-up.

Unfortunately… That got lost too The whole situation is so devastating tbh

Update on the situation apparently now the preview of the game won’t run just discovered this morning about it.
And The Preview Of My Game Isn’t Even Running I’ll Start A New Thread On That One If Anything Else Pops Up

If you want to try to fix your project file, this is the default properties of a BBText object:

{
  "assetStoreId": "",
  "name": "MyObject",
  "type": "BBText::BBText",
  "variables": [],
  "effects": [],
  "behaviors": [],
  "content": {
    "text": "",
    "opacity": 255,
    "fontSize": 20,
    "visible": true,
    "color": "0;0;0",
    "fontFamily": "Arial",
    "align": "left",
    "verticalTextAlignment": "top"
  }
}

Search for "type": "BBText::BBText" with a text editor and fill the missing properties.

There is a good chance that other kind of objects got corrupted too though.

Would vscode studio do? Also Not So Far As Ive Seen Sprites And Other Objects Seem To Do Just Fine

Update so far so good some scenes have started showing I’m guessing the preview won’t run unless I correct all the corrupt files