Comments (5)
Could you provide an example repository?
from openupm.
BTW, I don't think a package.json with BOM can work in Unity:
The BOM should be removed before submitting to openupm. Perhaps the error message could be better than Unexpected token ... in JSON at position 0
, however better than nothing.
from openupm.
The package version that I tried to submit: https://github.com/Netherlands3D/Json-Extras/tree/a2bf1e27ad47b4303e4e224f0f8f5327cdea51ee (the next commit is the BOM fix)
And this repository worked in Unity, so it would seem that Unity strips the BOM internally?
from openupm.
Also: it may be a Rider thing; I have now applied the fix as suggested in https://forum.unity.com/threads/apparently-my-package-json-is-invalid-when-trying-to-add-my-own-package.1175081/#post-7533989 to prevent Rider from adding BOMs :)
from openupm.
And this repository worked in Unity, so it would seem that Unity strips the BOM internally?
Thanks for the info. Then we shall align with the Unity editor.
Let's keep this open. For now, it's a low priority.
from openupm.
Related Issues (20)
- Update Medium post part-1 and workflow gist/example HOT 1
- Re-start build pipeline by approved contributors HOT 2
- Feature Request: Interpret Semantic Version HOT 1
- Unpublish package version HOT 1
- Republish package version HOT 1
- Build Pipeline shows `error path: package.json` HOT 1
- CN Registry sync error HOT 1
- Unpublish package HOT 1
- Max 10 packages per scope? HOT 4
- Timeout trying to download packages from openupm HOT 9
- Error message on package submit: "c.form.options.some is not a function" HOT 2
- File not found HOT 2
- Invisible code blocks on openupm.com HOT 2
- Republish package version HOT 5
- Feature request: build pipeline should fail if Git tag doesn't matched with the package.json version HOT 8
- Feature Request: Private Hosting Option HOT 5
- Missing package: eu.netherlands3d.webgl-copy-paste HOT 2
- Question/Bug regarding versioning on openupm compared to github HOT 2
- UI elements should inherit from Selectable instead of Monobehaviour HOT 2
- io.chainsafe.web3-unity.lootboxes - Add git prefix to yml
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openupm.