라벨이 게임개발인 게시물 표시

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

이미지
아래와 같은 메세지를 본다면,  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

유니티 에디터에서는 광고가 나오는데 빌드후에 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 구버전 사용에 따른 이슈이다. 이것은 노란 색깔 문제로 빨간 색깔 문제보다는 낮은 수준이지만, 여러가지 상황을 야기 시킬수 있다. 여기서는 광고가 제대로 구현되지 않는