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
Please tell us the version of the ZEPETO World package. (You can check the version in Unity > Window > Package Manager.) 1.4.1
Please tell us which version of the ZEPETO app is currently installed. (You can check the version in ZEPETO App > MY > Settings > Version.) 3.13.5
What features were you trying to implement?
What problem did you encounter?
An error occurs even though there is no syntax error in typescript.
The symptom is that when the Play button is pressed, an error message appears and the game cannot be played.
The error message is as below.
//Cannot read property 'exports' of undefined
Please tell us your development environment. Window 11Android 12
Please attach the implemented code. If you have a screenshot, please attach it.
The code I used is below.
import{Vector2}from"UnityEngine";exportdefaultclassSplineUtility{publicstaticCatmullRom2D(t: float,prevAnchor: Vector2,prev: Vector2,next: Vector2,nextAnchor: Vector2): Vector2{constt2: float=t*t;constt3: float=t2*t;consta: Vector2=2.0*prev;constb: Vector2=next-prevAnchor;constc: Vector2=2.0*prevAnchor-5.0*prev+4.0*next-nextAnchor;constd: Vector2=prevAnchor*-1.0+3.0*prev-3.0*next+nextAnchor;//The cubic polynomial: a + b * t + c * t^2 + d * t^3return0.5*(a+b*t+c*t2+d*t3);}}
The text was updated successfully, but these errors were encountered:
안녕하세요, 이슈 확인해 보니 현재 코드에서는 Vectro2 연산의 number * Vector2 연산처리를 하면서 발생하는 이슈로 확인 되었습니다.
현재 버전에서는 Vector2 * number 로 바꾸면 에러를 회피할 수 있습니다.
Vector2 연산의 교환법칙이 성립하도록 수정할 예정이며 시간은 다소 소요될 것 같습니다.
감사합니다.
Zepeto-TechEvangelist
changed the title
Cannot read property 'exports' of undefined 오류가 발생합니다
[BUG] : I am getting an error Cannot read property 'exports' of undefined
Sep 8, 2022
Please tell us the version of the ZEPETO World package. (You can check the version in Unity > Window > Package Manager.)
1.4.1
Please tell us which version of the ZEPETO app is currently installed. (You can check the version in ZEPETO App > MY > Settings > Version.)
3.13.5
What features were you trying to implement?
What problem did you encounter?
An error occurs even though there is no syntax error in typescript.
The symptom is that when the Play button is pressed, an error message appears and the game cannot be played.
The error message is as below.
//Cannot read property 'exports' of undefined
Please tell us your development environment.
Window 11
Android 12
Please attach the implemented code. If you have a screenshot, please attach it.
The code I used is below.
The text was updated successfully, but these errors were encountered: