plugin doesn't load if mod file is missing trailing whitespace
- Dominant language
- Wolfram Language
- Stars
- 905
- Forks
- 223
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 17
Description
While trying to package up 0.21.0 from the provided installer for maya 2023.2 I couldn't get the plugin to load with my mod file even though it showed up in the plugin manager with the correct paths. I kept getting `Unable to dynamically load: .../plug-ins/MayaUSD/0.21.0/mayausd/MayaUSD/plugin/adsk/plugin/mayaUsdPlugin.mll` even though the file existed there.
When I diffed my mod file to the one the installer created the only difference besides paths was trailing whitespace on the empty values.
When I added the trailing whitespace the plugin loaded.
My text editor is probably setup to strip trailing whitespace
**Steps to reproduce**
Steps to reproduce the behavior:
1. install usd
2. edit `C:\Program Files\Common Files\Autodesk Shared\Modules\Maya\2023\mayausd.mod to remove trailing whitespace
3. open maya 2023
4. try to load usd plugin
**Expected behavior**
plugin should still work if white space is missing
**Attachments**
If applicable, add screenshots, sample files, etc to help explain your problem.
**Specs (if applicable):**
- Windows 10
- Maya 2023.2
- Maya USD 0.21.0
**Additional context**
There should at least be a comment in the provided mod file saying the spaces are required.

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.