전체 글 23

[Unity] RemoteProviderException: TextDataProvider : unable to load “StreamingAssets /aa/settings.json” 에러 해결

Azure Web app에 Webgl 빌드를 올리려는데StreamingAssets 폴더에서 settings.json 파일을 못 찾는다고 404 에러남어드레서블을 사용하면 자동으로 StreamingAssets폴더 내부에 어드레서블 설정이 적혀있는 settings.json 파일이 생기는데이거를 못 갖고 온다고 자꾸 에러가 났다 해결 방법 :  Webgl 빌드하면 이런식으로 폴더가 생기는데, Build 폴더 내부에 가보면이런 파일들이 있음 여기서 loader.js를 열어보면 먼가 엄청 긴 파일이 나오는데 중간에 보면streamingAssetsUrl 이라는 부분이 있다 기본값은 "m.streamingAssetsUrl,document.URL"인데 나는 azure에 StreamingAssets 폴더를 올리고그 폴더..

Unity 2024.11.28

[Unity] WebGL 'Unable to parse Build" / Multithread error

Brotli로 압축 후 빌드하면 https://stackoverflow.com/questions/75872920/how-to-fix-unable-to-parse-build-error-in-webgl-build How to fix 'Unable to parse Build" error in WebGL build?I want to host my Unity WebGL in was s3 bucket. When I upload my files to an s3 bucket and open index.html to view the project, I get this error.stackoverflow.com Unable to parse build~~이런 에러가 뜨는데  설정에서 enable decompression f..

Unity 2024.11.07

[Unity] Sentis Hand Detection (핸드 트래킹)

https://github.com/Unity-Technologies/sentis-samples/tree/main/BlazeDetectionSample/Hand sentis-samples/BlazeDetectionSample/Hand at main · Unity-Technologies/sentis-samplesSentis samples internal development repository. Contains example and template projects for Sentis package use. - Unity-Technologies/sentis-samplesgithub.com 유니티 센티스 공식 예제에서 해당 예제를 받아 실행해보았다 HandDetection.cs 에서  m_HandL..

Unity 2024.10.24

[Unity] Sentis Human Pose Estimation (포즈 트래킹)

https://github.com/Unity-Technologies/sentis-samples/tree/main/BlazeDetectionSample/Pose sentis-samples/BlazeDetectionSample/Pose at main · Unity-Technologies/sentis-samplesSentis samples internal development repository. Contains example and template projects for Sentis package use. - Unity-Technologies/sentis-samplesgithub.com 유니티 센티스 예제로 올라온 Pose Detection 의 Landmark 좌표를 이용해 휴머노이드 캐릭터에 붙여봤다 먼저..

Unity 2024.10.15

Astar C++로 만들기

// Astar.cpp : 이 파일에는 'main' 함수가 포함됩니다. 거기서 프로그램 실행이 시작되고 종료됩니다.//#include #include "olcConsoleGameEngine.h"#include #include #include#include #include #include #include #include#include #include#define HASH_TABLE_COUNT 11#define DIR_COUNT 8using namespace std;enum NodeDirection : UINT8{ N, E, S, W, NE, NW, SE, SW};struct Vector2{ int x; int y; Vector2(int _x, int _y) : x(_x), y(_y) {}};Vector2 ..

Study 2024.10.10

하노이의 탑 C++로 만들기

// Hanoi.cpp : 이 파일에는 'main' 함수가 포함됩니다. 거기서 프로그램 실행이 시작되고 종료됩니다.//#include int count = 0;int max = 0;const int size = 3;int hanoi[size] = { 1,2,3 };void Hanoi(int n, int start, int goal){ int middle = max - start - goal; count++; if (n > 1) { Hanoi(n - 1, start, middle); } printf("링 [%d] : %d 기둥 -> %d 기둥\n", n, start, goal); if (n > 1) { Hanoi(n - 1, middle, goal); }}int main(){ for (int i = 0..

Study 2024.10.10