[해결책] UnityException: Texture '' is not readable, the texture memory can not be accessed from scripts. You can make the texture readable in the Texture Import Settings.
1.Use RenderTexture (Recommended): Use RenderTexture. Put the source Texture2D into RenderTexture with Graphics.Blit then use Texture2D.ReadPixels to read the image from RenderTexture into the new Texture2D. Texture2D duplicateTexture(Texture2D source) { RenderTexture renderTex = RenderTexture.GetTemporary( source.width, source.height, 0, RenderTextureFormat.Default, RenderTextureReadWrite.Linea..
카테고리 없음
2021. 4. 7. 19:49
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 포큐아카데미후기
- POCU후기
- C#강의
- POCU아카데미
- .NET
- Settings
- NRC
- 운동
- 단축키
- 포큐후기
- 참고
- 포큐아카데미
- web
- adb
- Code Conventions
- Browsers
- json
- 프로그래밍강의
- intellij
- 씨샵강의
- 일일회고
- 환경변수설정
- framework
- Unity
- errors
- springboot
- POCU
- 프로그래밍입문
- AWSSDK
- running
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
글 보관함