UNITY

포스트: 52|조회수: 0|ORGANIZATION
Items

Posts

52 posts

[에러&경고] gradle out 관련 문제

개발자 SPRING|2019년 6월 7일

CommandInvokationFailure: Gradle build failed. c:\Program Files\Java\jdk1.8.0_102\bin\java.exe -classpath "F:\unity2018.2\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.2.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease" stderr[ FAILURE: Build failed with an exception. * What went wrong:A problem occurred configuring root proj

유니티를 이용해 웹의 텍스트 파싱이 잘 안 될때

개발자 SPRING|2019년 5월 10일

웹 서버에 올려 둔 text 파일을 유니티를 통해 파싱해 출력하게 만들었습니다. public Text TEXT; void Start() { StartCoroutine(GetText()); } IEnumerator GetText() { WWW www = new WWW("텍스트 파일 url"); yield return www; TEXT.text = www.text.ToString (); } 그랬더니 PC에서 테스트할 때는 멀쩡히 잘 나오다가, apk로 빌드 후에 스마트 기기에서는 공백으로 나오더군요.처음엔 웹에 무슨 접근 제한이 있나... 생각했는데 PC에서는 어디에서라도 해당 텍스트 파일이 잘 열리길래 다른 문제라고 알게 됐습니다. 잠깐 찾아 보니 BOM이라는 파일 첫머리의 규

[에러&경고 대응] `MinAttribute' is an ambiguous reference between `UnityEngine.MinAttribute'

개발자 SPRING|2019년 2월 1일

namespace UnityEditor.PostProcessing{ [CustomPropertyDrawer(typeof(UnityEngine.PostProcessing.MinAttribute))] sealed class MinDrawer : PropertyDrawer { public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { UnityEngine.PostProcessing.MinAttribute attribute = (UnityEngine.PostProcessing.MinAttribute)base.attribute; if

[UNITY3D] 웹 페이지 상의 이미지를 읽어와 출력하기

개발자 SPRING|2018년 12월 19일

웹 페이지를 여는 방법을 찾고 있었는데....조금 다른 것이 들어왔네요 ㅎ웹 상에 노출되어 있는 이미지 url를 입력하면 유니티 내에서 볼 수 있게 해 주는 코드입니다.구글 클라우드에 있는 것들을 가져오면 앨범도 만들어 볼 수 있겠습니다. using System.Collections;using System.Collections.Generic;using UnityEngine; public class example : MonoBehaviour { public string url = "https://community.arm.com/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-20-66/6180.mali_2D00_shield_2D00