Unity/ERROR

ERROR | UnityException: get_enterPlayModeOptionsEnabled can only be called from the main thread. , addressable 어드레서블 유니티 메인 스레드에서 불러오지 못하는 오류

에러 코드 UnityException: get_enterPlayModeOptionsEnabled can only be called from the main thread. Constructors and field initializers will be executed from the loading thread when loading a scene. Don't use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function. UnityEngine.AddressableAssets.Addressables.get_m_Addressables () (at 한글 번..

2022.11.16 게시됨

[ERROR] Addressable Error 어드레서블 빌드 후 이전 정보와 같을 경우 포스팅 썸네일 이미지

Unity/ERROR

[ERROR] Addressable Error 어드레서블 빌드 후 이전 정보와 같을 경우

최근에 회사에서 iOS 빌드 진행중에 발생한 오류 입니다. Android 빌드에서는 문제가 없었는데 iOS 빌드에서 발견된 오류 입니다. 에러 iOS 빌드 중에 Addressable을 이용해서 애셋 번들에 있는 어드레서블 네임 "gallery_type_24" 라는 씬을 불러오는 과정 속에 발생한 오류 확인을 해본 결과 딱히 문제는 없었으나 "gallery_type_24" 와 "gallery_type_34" 네임이 참조하는 씬 이름이 "gallery_scene_24" 와 "gallery_type 34"였던 부분을 확인하여서 씬 네임 부분도 동일하게 "gallery_type_xxx" 형식으로 셋팅 후 다시 어드레서블 빌드 진행 -> 그러나 계속해서 "gallery_scene_24"는 없는 씬이여서 참조하지 ..

2022.05.11 게시됨

[ERROR] expected x86 architecture, but was x64 architecture. You must recompile your plugin for x86 architecture. 포스팅 썸네일 이미지

Unity/ERROR

[ERROR] expected x86 architecture, but was x64 architecture. You must recompile your plugin for x86 architecture.

Photon Fusion에 관해서 공부하다가 발견하게 된 오류입니다. (사실 상관없습니다..) 문제 원인 Failed to load 'C:/Users/kekek/Desktop/Fusion_x86/Fusion Webinar_Data/Plugins\x86/nanosockets.dll', expected x86 architecture, but was x64 architecture. You must recompile your plugin for x86 architecture. UnityEngine.StackTraceUtility:ExtractStackTrace () -> x86 아키텍처를 요구했지만 x64 아키텍처였습니다. x86 아키텍처용 플러그인을 다시 컴파일해야 합니다. 라는 뜻인것 같다. 유니티에서 We..

2022.02.10 게시됨

[ERROR] Socket.io와 Photon WebSocket 중복 오류 포스팅 썸네일 이미지

Unity/ERROR

[ERROR] Socket.io와 Photon WebSocket 중복 오류

문제원인 회사에서 업무를 진행하던 도중에 발견된 오류입니다. 우선 기존의 프로젝트에선 Socket.io를 사용하는 중에 음성채팅 기능을 위해 Photon PUN2를 적용하였습니다. error CS0121: The call is ambiguous between the following methods or properties: 'WebSocketSharp.Ext.IsNullOrEmpty(string)' and 'WebSocketSharp.Ext.IsNullOrEmpty(string)' 8a9ff118-48d2-4fa7-bffd-e4fb972c747f 에러코드 확인 후 MS에 접속해서 문제원인을 확인했습니다. -> CS0102(MS) 링크 컴파일러 오류 CS0121 컴파일러 오류 CS0121 이 문서의 내용 ..

2022.02.07 게시됨

[ERROR] A failure occurred while executing com.android.build.gradle. 포스팅 썸네일 이미지

Unity/ERROR

[ERROR] A failure occurred while executing com.android.build.gradle.

We noticed this issue many times. Please follow the below steps for resolving it. 1. Go to External Tool settings from preferences 2. Toggle checkmarks (Enable and Re-enable) for Android SDK and Java entries 3. Restart Unity (This makes sure Temp folders are recreated) Thanks, VB Team 회사 앱 테스팅을 하는 과정에서 발견된 오류이다. 약 5시간정도 구글링을 했지만 해결이 안됬던 오류 해결 방법 1. Minimum API Level 조정 File -> Build Settings -> ..

2021.11.11 게시됨