AssetCompiler - allow TABS in sdpkg
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Another easy one. As I push down the "Code Only" approach, this came to light. I added a "Root Asset" to my sdpkg manually, but used TAB instead of 3 spaces, and it crashed the Asset Compiler. It would be great if the Asset Compiler treated TABs as whitespace, just like .
Here was the entry I was trying to make to my sdpkg:
RootAssets:
- 1eddabed-b75e-4c92-89d6-6dfa4a96d502:Animations/Run
But mine prefixed with TAB instead of 3 spaces, and it caused critical failure for Asset Compiler.
(i.e. "Encountered character that can not start any token.")
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the Asset Compiler's sdpkg parsing path and reproduce the failure with the shown RootAssets entry using a TAB for indentation. Done means the compiler accepts TABs as whitespace instead of reporting a critical tokenization failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100