라벨이 유니티인 게시물 표시

[게임 개발을 위한 필수 작업] 작업중

이미지
아래와 같은 메세지를 본다면,  We've detected that your custom Assets/Plugins/Android\mainTemplate.gradle file is using a deprecated way of controlling which types of assets should not be compressed. To fix this you can update aaptOptions noCompress property yourself by adding unityStreamingAssets constant (like this: + unityStreamingAssets.tokenize(', ')) to it and also making sure that unityStreamingAssets constant is defined in gradle.properties file (like this: unityStreamingAssets=.unity3d**STREAMING_ASSETS**). We can also do this automatically, your current mainTemplate.gradle file will be backed up. Continue? 그리고 아래의 이미지를 본다면, 어이가 없네. 이놈의 유니티는 업데이트가 제대로 되는게 없어 헐...

[게임개발을 위한 필수작업] After applying Google Mobile Ads Unity Plugin v8.7.0 to my unity project, builds fails(유니티 에드몹 에러 조치 방법)

이미지
  Before applying Google Mobile Ads Unity Plugin v8.7.0 to my unity project, it succeeds as below.   Now, I will download googleMobileAds and I will drag it under Asset. It asks if I import googleMobileAds(v8.7.0).  Click "import" So imports starts as it shows above. And it keeps importing necessary stuffs as above. NO ERRORS during the importing process of googleMobileAds as log shows above. Now, I do builds in unity with googleMobileAds in the editor. Now see the below. I did not do anything except locating googleMobileAds under asset. And as soon as I build it, it throws a message which is saying "Too many errors" as below. Now, I check as the error message says and console says as below. There are four errors now. The 1st one is : > Task :launcher:preBuild UP-TO-DATE > Task :unityLibrary:preBuild UP-TO-DATE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE > Task :launcher:preReleaseBuild UP-TO-DATE > Task :unityLibrary:p

[해결함 / Solved] 유니티 force resolve시에 발생하는 에러 해결 방법 - GoogleMobileAds 패키지 이슈 -

이미지
 유니티 admob 에러 발생 해결법 - 인터넷에 존재하는 모든 방법을 다 해보고 알게되었음 * java 업데이트 / 업그레이드 / 다운그레이드 * sdk 업데이트 / 업그레이드 / 다운그레이드 그리고 알게 된것, 결론만 얘기하면 개발자이기 때문에 jdk를 여러개 설치한 사람들이 있을텐데 , 그게 문제 였음, unity의 jdk만 빼고 나머지는 삭제해야 함 그렇지 않으면 알수 없는 오류로 인해 안드로메다로 갈 확률이 매우 높음. 밑의 사례를 참조하시기 바람 이렇게 하고 force resolve를 하니 잘 되었다. succeed를 3주만에 보았다. 하.....그리고 빌드를 하였다. 개발자, IT를 하다보니. 빌드가 잘 되게 해달라고 기도하는 습관 같은게 생겼다. IT와 무속신앙의 만남인가..헐.... <에러 발생... 그 양상...메세지..> GoogleMobileAds-v8.7.0.unitypackage 왼쪽의 파일을 admob에서 다운 받아 유니티 에셋에 넣고, force resolve를 실행하면 아래과 같은 에러 로그 발생한다 at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1160) at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300) at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newConstructorAccessor(MethodHandleAccessorFactory.java:103) at java.base/jdk.internal.reflect.ReflectionFactory.newConstructorAccessor(ReflectionFactory.java:201) at java.base/java.lang.refle

유니티에서 ready to send for review라고 되어 있는 경우 In Review(검토중)으로 변경 하는 법 / how to convert "ready to send for review" to "in review" in Unity

이미지
▧ 아래와 같이 유니티에서 ready to send for review라고 되어 있는 경우 In Review(검토중)으로 변경을 해야 한다. 변경을 하기 위해 위의 그림에서 게임을 선택한다. 게임을 선택하면 위와 같이 go to publishing overview가 나온다. 이것을 클릭한다. 그럼 위와 같은 화면이 뜨고 우측 하단에 변경을 검토하기가 있다. 클릭하면 검토중으로 바뀐다. 구글은 뭔가 UI가 쉽지는 않다. ㅎㅎ

유니티 광고 안뜨는 오류 해결 (Unity admob ads error Perfectly Solved)-Your advertising ID declaration in Play Console says that your app uses advertising ID. A manifest file in one of your active artifacts doesn't include the com.google.android.gms.permission.AD_ID permission.

이미지
 <유니티 광고 ID 오류> * 영문 오류 Your advertising ID declaration in Play Console says that your app uses advertising ID. A manifest file in one of your active artifacts doesn't include the com.google.android.gms.permission.AD_ID permission. If you don't include this permission in your manifest file, your advertising identifier will be zeroed out. This may break your advertising and analytics use cases, and cause loss of revenue.  Learn more You can remove these errors by updating your advertising ID declaration info_outline Apps that target Android 13 (API 33) without the AD_ID permission will have their advertising identifier zeroed out. This may impact advertising and analytics use-cases.  Learn more Update declaration Release without permission * 한글 오류  <해결방법> 유니티에서 위와 같이 custom main manifest를 체크하면, 아래 보이는 경로에 AndroidManifest.xml이라는 파일이 생성된다. 그 파일에 아래의 내용을 넣어준다.  <uses-permission android:name="com.google.android.gms.permission.AD_ID"/> <해결 완료>  자이제 빌

유니티 에디터에서는 광고가 나오는데 빌드후에 playstore에서 광고가 나오지 않는 경우(유니티 광고 오류 해결 방법 / unity admob ads error Solved)

이미지
 <원인> 처음에 google Play Console에서 앱 혹은 게임을 처음 생성할때 Dashboard에서 다양한 질문과 답변을 하게되는데, 필자의 경우 실수로, 엡에 광고를 포함하지 않는다고 체크하였다.  그로 인해 유니티 에디터에서는 광고가 잘 나오지만, 빌드후에 playstore혹은 내부터스터들에게는 광고가 보이지 않는 현상이 발생하였다. 특히, play console에 빌드 번들을 올리면 에러가 발생하였다. 에러의 내용은 아래와 같다. Your declaration on Play Console says that your app uses advertising ID .   Your   manifest file doesn 't include the com.google.android.gms.permission.AD_ID permission. <해결방법> 아래와 같이 app content - ads 에서 yes, my app contains ads라고 변경 하여 저장한다. 위와 같이 변경하고 다시 빌딩 하였다. 이것을 아래와 같이 playstore에 내부테스트로 트랙을 만들도록 한다.  <또 다른 문제1> 위와 같이 처리하였으나, 여전히 광고가 뜨지 않는 경우가 있다. 아래와 같은 이슈가 있을 수 있다.  Your latest open testing release (this is the 3rd release) contains SDK issues Chicken Fight(닭싸움) Feb 20, 2024 15:45 androidx.fragment:fragment:1.0.0 This SDK version has been reported as outdated. Consider upgrading to a newer version (1.1.0+). 위의 상황은 sdk 구버전 사용에 따른 이슈이다. 이것은 노란 색깔 문제로 빨간 색깔 문제보다는 낮은 수준이지만, 여러가지 상황을 야기 시킬수 있다. 여기서는 광고가 제대로 구현되지 않는