메뉴 건너뛰기

라이온하트 2nd edition

홈페이지를 새롭게 리뉴얼합니다.

조회 수 80240 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
다음과 같은 방법으로 다운그레이드가 가능하다고 한다.

Here is something worth trying, make sure you create backs ups before you start!
여기에 뭔가 가치있는 시도가 있다, 시작하기 전에 백업을 만들어둘것
  1. Enable source control on your project: Edit/Project Settings/Editor/Visible Meta Files (This will create meta files for every asset you have, these fiels contain information such as how the asset should be imported as well as a unique guid so you should not lose links to scripts etc)
  2. 당신의 프로젝트에 소스 컨트롤을 활성화한다 : Edit->Project Settings->Editor->Visible Meta Files(이것은 당신의 프로젝트가 가진 모든 애셋 파일들의 메타데이터를 생성할 것이다, 이파일들은 GUID뿐만 아니라 애셋들이 어떻게 임포트되어야하는지와 같은 정보들을 담고 있다 그러므로 당신은 스크립트등과 같은 것들의 링크를 잃지 않게 된다)
  3. Create a new project with unity 4.2.2. Keep the project empty. Enable source control on this project like you did with the other.
  4. 유니티 4.2.2등의 버전에서 새로운 프로젝트를 생성한다. 빈프로젝트로 유지할것. 이프로젝트의 소스컨트롤 방식을 위와 같은(Visible Meta Files) 형태로 활성화한다.
  5. Now replace the "Assets" folder from your 4.2.2 project with the 4.3 project Assets folder.
  6. 이제 4.3프로젝트의 애셋폴더를 4.2프로젝트의 애셋폴더에 복사한다.
  7. Unity 4.2.2 should import all the assets with the correct settings and you should have a 4.2.2 project again. You can now disable source control and it will remove the meta files.
  8. 유니티 4.2는 모든애셋들을 올바른 셋팅으로 임포트할것이고, 당신은 다시 4.2버전의 프로젝트를 가지게 된다. 이제 소스컨트롤을 비활성화 할수 있고, 그를통해 모든 메터파일들은 제거될것이다.
  9. Update:(추가사항)
Once you have downgraded you may start to get some errors about the Unity serializer. Such as this:typeTree.m_Children.front ().m_Type != SerializeTraits::GetTypeString (NULL) This is likely caused by Unity 4.3 adding in some data into its assets/prefabs/scenes etc that 4.2.2 does not recognise. A possible fix is this: Goto your project settings/Editor/Asset Serialisation and change it to either force text or force binary. This will force Unity to re-serialise all your asset files. So potentially it could get rid of any Unity 4.3 serialisation data.
다운그레이드된 유니티 프로젝트를 시작할때 몇개의 유니티 시리얼라이저관련 에러를 보게 될것이다. typeTree.m_Children.front ().m_Type != SerializeTraits::GetTypeString (NULL)과 같은것으로  이것은 유니티 4.3에서 몇몇 데이터드을 애셋의 씬에 추가한것이 원인이다. 가능한 수리법은 다음과 같다 : Project Settings->Editor->Asset Serialisation 으로 가서 force text 또는 force binary중하나로 바꾼다. 이것은 강제적으로 유니티가 모든 애셋파일들을 다시 직렬화하게 할것이다. 그러므로 잠재적으로 유니티 4.3에서 만들어진 직렬화 데이터들은 사라질수 있다.

위에 나와 있는 방법되로 4.3 버전을 4.1 버전으로 바꿔보니 과연잘된다. 물론 몇몇 재질의 셰이더가 날아간게 한두개 정도 나오긴했지만 그외에는 별문제 없는듯하다.

또 다른 방법

유니티를 4.3으로 업그레이드를 하고 프로젝트를 개발하다가 불가피하게 4.1.5나 4.2.2로 다운 그레이드 해야할 일이 있다.

유니티를 새로 설치하고 새로운 프로젝트를 생성한다음 기존의 프로젝트에서 Assets폴더의 내용을 카피하고 새로운 프로젝트의 Assets폴더에 붙여넣기를 하면 자동으로 컨버트를 하게 된다.

그 후에 유니티를 실행하고 프로젝트를 오픈하면 컨버트 후에 다음과 같은 에러가 로그창에 표시된다.

typeTree.m_Children.front ().m_Type != SerializeTraits<SInt32>::GetTypeString (NULL)

두둥...
아무리 껏다 켜봐도 사라지지 않는 에러 메시지...

간단하게 없애버리자.

Menu > Edit > Project Settings > Editor 를 실행한다.

그림처럼 Force Binary 또는 Force Text를 선택한다.
이후에 다시 Mixed로 설정하면 됨.

이제 더 이상 로그창에 시뻘건 에러 메시지는 안뜰 것이다.
굿바이~

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
17 Android Unity 타임 함수 badung007 2015.08.08 79192
16 Android Unity 코루틴 명령어 badung007 2015.08.06 84944
15 Android Unity CameraReSize badung007 2015.04.10 75740
» Android [ 유니티3D엔진 ] 유니티 4.3.4 -> 4.2.2 다운그레이드 badung007 2014.09.20 80240
13 Android [ 유니티3D엔진 ] FPS 프레임 조절 badung007 2014.06.15 129245
12 Android [유니티3D엔진] 유니티 Scene 로딩 badung007 2014.03.21 77105
11 Android [유니티3D엔진] 유니티 최적화 _ 프레임 줄이기 badung007 2013.12.06 98473
10 Android [유니티3D엔진] C# 어레이리스트 dat 파일 로드 및 저장 (바이너리 파일로 변환) badung007 2013.12.05 75633
9 Android [유니티3D엔진] C# 어레이리스트 xml 파일 저장 badung007 2013.12.04 135284
8 Android [유니티3D엔진] NGUI 해상도 비율적으로 풀화면 badung007 2013.11.29 81715
7 Android [유니티3D엔진] C# 싱글톤 구현 및 인스턴스 활용 badung007 2013.10.28 94535
6 Android [안드로이드] ProgressDialog 시간 처리 badung007 2013.10.27 102080
5 Android 안드로이드 개발환경의 이해 LionHeart 2013.10.27 110647
4 Android [안드로이드] android:launchMode, singleTop과 singleTask의 차이 badung007 2013.10.26 98806
3 Android [유니티3D엔진] 안드로이드 유니티 연동_JNI badung007 2013.10.26 191419
2 Android [안드로이드] 인터넷 연결 상태 확인 badung007 2013.10.25 76688
1 Android [안드로이드] 단말기 정보 (계정, device, 고유 정보값) 가져오기 badung007 2013.10.25 128410
Board Pagination ‹ Prev 1 Next ›
/ 1