Comments (5)
Some questions:
- Which OS?
- Node version?
- Are you importing
@babel/runtime
? - Did you make any changes to
tsconfig.json
or did you add a.babelrc
?
Can you post your yarn.lock
file
from core.
Hey, thanks for looking into this.
Which OS?
Ubuntu 21.04
Node version?
v16.6.2
Are you importing @babel/runtime?
Not that I know of - I haven't imported it myself. I may be importing something that uses it.
Did you make any changes to tsconfig.json or did you add a .babelrc?
Nope, just double checked there's no such changes in my full-sample
checkout.
Can you post your yarn.lock file
Sure can. yarn.lock.txt
from core.
Indeed, the issue was reproducible in Ubuntu.
Added a fix to @reactunity/scripts
. You should upgrade it to version 0.4.1
in your package.json
.
Some info: scripts
is based on CRA v4 and this issue was fixed in CRA v5 alpha. scripts
will be updated to CRA v5 when it is released. The fix I did is a temporary solution.
from core.
Also, I noticed more issues in full-sample
and fixed them. full-sample
is not intended for users to use, but I guess it is the best sample so far and I don't have time to maintain another sample project yet.
Closing this issue. Feel free to reopen if something else is not working.
from core.
Yep the new version fixed the issue for me, thanks!
from core.
Related Issues (20)
- [UGUI] Text scaling with `rem` is not the same as in web browsers HOT 4
- [UGUI] Line-Height with `rem` is not the same as in web browsers HOT 3
- [UGUI] `<br>` tag is not respected when considering line height HOT 4
- ReactUnity polyfils are not loaded from Resources HOT 4
- `<view>` GameObject is not removed after Restart HOT 6
- [UGUI] Performance Improvement to not create GameObjects that are empty HOT 1
- [UGUI] Performance improvement for non rounded elements HOT 2
- [UGUI] Pointer events are not consistent if parent have none and children have auto HOT 3
- Image Quality/Resolution HOT 5
- onMouseDown, onPointerDown and probably more events do not work as intended HOT 5
- Auto-Reload after changes in code are not reflected or automaticaly updated. HOT 1
- Created canvases should inherit properties from the main canvas HOT 1
- What's the best practice to use Router? HOT 2
- Chinese didn't render in ReactUnity canvas HOT 2
- Inconsistent element rendering HOT 4
- [CSS] "width: 100%" seems to not work inside of Unity HOT 1
- compare with react-unity-webgl HOT 1
- TypeScript is missing the definition of `direction` prop in `scroll` element HOT 1
- UI Toolkit renderer is missing css properties like `background-size` HOT 2
- BUG [TypeScript] `UnityEngine.Networking` has no exported member `UnityWebRequest` HOT 1
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 core.