About Store Forum Documentation Contact



Post Reply 
TextData Problem
Author Message
fatcoder Offline
Member

Post: #1
TextData Problem
I just upgraded one of my projects to the latest SDK and now I'm having a problem loading a file using TextData that loaded fine in the older SDK.

It fails when trying to read this line in the file.

Code:
path=Image/Sphere.gfx

If I change the "/" to something else then it works fine. So it seems there is a bug in TextData that stops it reading past a "/" character. Can we get a fix for this so it works again?
03-29-2014 10:44 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: TextData Problem
Hi,

Text data works correctly, I'm assuming you've saved the data not using this class but manually?
There was no change to the class.
You need to save data only using this class and not manually. It will surround complex values with ``
03-30-2014 03:10 AM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #3
RE: TextData Problem
OK, fair enough. Not sure why it used to work, I must of been doing something different. Oh well, I surrounded the path with `` and it works now.
03-30-2014 07:23 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: TextData Problem
just make sure to always use TextData.save (there are some other special cases as well for encoding some characters)
03-31-2014 05:55 AM
Find all posts by this user Quote this message in a reply
Post Reply