IMyTextPanel.GetPublicTitle() returning empty string on world reload

Auhrii shared this bug 4 years ago
Reported

Hello! Today I ran into a problem with LCD panels in the programmable block: The .GetPublicTitle() method returns an empty string if the world is reloaded. Going into the terminal and editing the LCD panel's title refreshes it immediately.

I asked for a repro on the Discord server and Digi replied with:

"[...] GetPublicTitle() returns m_publicTitleHelper and they also have a m_publicTitle SB aswell. When the block is initialized they're appending to m_publicTitle manually so the helper one remains empty until title is changed ingame."

Replies (1)

photo
2

Hello, Auhrii,

thanks for letting us know this issue.

However, it is quite some time from when you listed it here. Is it still broken for you? I tried several scripts and all seems to work without any flaws. If you are still experiencing the issue, can you please share some scripts names/steam workshop links so I can try it on those?

Thanks for reply in advance.

Kind Regards

Keen Software House: QA Department

photo
1

I have a minimal repro world uploaded here:

https://steamcommunity.com/sharedfiles/filedetails/?id=2354319906

Repro steps:

  1. On loading the world, you will see an empty LCD panel. Change the LCD panel's public title and observe it appears on the panel.
  2. Save and exit, then reload.
  3. Observe the panel becomes empty as GetPublicTitle returns an empty string.

photo
2

Hello, Auhrii,

thanks for providing the additional info. I successfully reproduced the issue and put in into our internal system.

Kind Regards

Keen Software House: QA Department

photo
Leave a Comment
 
Attach a file