You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem or limitation you are having in your project
I found there are some hard codes to ignore TextFile resource type when export project. This prevent user to use TextFile to keep informations in exported project. This are something I can do to make TextFile a normal resource that can use in exported project.
Anyway, hard codes here is little stupid. Even if it have to make the TextFile type editor-only, it should be some ways better.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
N/A
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Change source code to remove hard codes and handle it as normal resource. If this proposal is accepted, there is a PR I have done
If this enhancement will not be used often, can it be worked around with a few lines of script?
This is a source code problem.
Is there a reason why this should be core and not an add-on in the asset library?
This is a source code problem.
The text was updated successfully, but these errors were encountered:
The hardcoded exclusion introduced a confusing situation to user: the resource is imported in file system but can't be loaded as a text file resource. Therefore, text file extensions setting should be a project setting entry. TextFile should be exposed, and any file imported as text file should be exported and can be loaded in the game.
It's common for projects to include documentation in the form of Markdown files, plain text files and so on. If these are exported automatically by default, this could potentially leak sensitive information (such as design documents) when exporting a project.
Describe the project you are working on
Use TextFile resource in exported project
Describe the problem or limitation you are having in your project
I found there are some hard codes to ignore TextFile resource type when export project. This prevent user to use TextFile to keep informations in exported project. This are something I can do to make TextFile a normal resource that can use in exported project.
Anyway, hard codes here is little stupid. Even if it have to make the TextFile type editor-only, it should be some ways better.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
N/A
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
Change source code to remove hard codes and handle it as normal resource. If this proposal is accepted, there is a PR I have done
If this enhancement will not be used often, can it be worked around with a few lines of script?
This is a source code problem.
Is there a reason why this should be core and not an add-on in the asset library?
This is a source code problem.
The text was updated successfully, but these errors were encountered: