728x90

๐ŸŽฎ Unity Study 90

[Unity Error] FSBTool ERROR: Internal error from FMOD sub-system.

mp3 ํŒŒ์ผ์„ import ํ•˜๋˜ ์ค‘ FSBTool Error ๊ฐ€ ๋‚ฌ๋‹ค.mp3 ํŒŒ์ผ์˜ ์–ด๋–ค ์†์„ฑ ๊ฐ’์ด ๋ฐ”๋€Œ๋ฉฐ Unity ๊ฐ€ import ํ•˜์ง€ ๋ชปํ•œ ์—๋Ÿฌ์ด๋‹ค.ํŒŒ์ผ ์•„์ด์ฝ˜๋„ ๊ธฐ์กด mp3 ํŒŒ์ผ๊ณผ ๋‹ค๋ฅด๋‹ค.Errors during import of AudioClip Assets/Project/Learning/Dictation/pass_004.mp3:FSBTool ERROR: Internal error from FMOD sub-system.FSBTool ERROR: Internal error from FMOD sub-system.  ์•„๋ž˜ ์‚ฌ์ดํŠธ์—์„œ mp3 ํŒŒ์ผ์„ ํ•œ๋ฒˆ ๋” mp3 ํŒŒ์ผ๋กœ convert ํ•ด์ฃผ๋ฉด ํ•ด๊ฒฐ ๋œ๋‹ค.https://online-audio-converter.com/ Online Audio Convert..

[Unity] Unity6 Preview ์—…๋ฐ์ดํŠธ ๋‚ด์šฉ ์ •๋ฆฌ

https://blog.unity.com/engine-platform/unity-6-preview-release Unity 6 Preview is now available | Unity BlogWe support most popular XR platforms, including ARKit, ARCore, visionOS, Meta Quest, Playstation VR, Windows Mixed Reality, and more. In Unity 6 Preview, you’ll find cutting-edge cross-platform features like mixed reality, hand and eye input, and improveblog.unity.com Unity 6๊ฐ€ 24๋…„ ํ•˜๋ฐ˜๊ธฐ์— ์ถœ์‹œ๋ ..

[Unity Document Study] 3์ฃผ์ฐจ :: Unity Package Manager

https://docs.unity3d.com/Manual/Packages.html Unity - Manual: Unity's Package ManagerHow Unity works with packages Unity’s Package Manager A package is a container that stores various types of features or assets, such as: Editor tools and libraries, such as a text editor, an animation viewer, or test frameworks. Runtime tools and libraridocs.unity3d.com Unity Document ์˜ Unity Package Manager ์ •์˜ ..

[Unity Document Study] 2์ฃผ์ฐจ :: Asset Workflow

Unity Document: Asset Workflow > Importing Asset, Asset Database ํŒŒํŠธ๋ฅผ ์ •๋ฆฌํ–ˆ์Šต๋‹ˆ๋‹ค. https://docs.unity3d.com/Manual/AssetWorkflow.html Unity - Manual: Asset workflowAsset workflow An asset is any item that you use in your Unity project to create your game or app. Assets can represent visual or audio elements in your project, such as 3D models, textures, spritesA 2D graphic objects. If you are used to w..

[Unity Document Study] 1์ฃผ์ฐจ :: Unity Analysis - Unity Profiler

Profiler๋Š” CPU, ๋ฉ”๋ชจ๋ฆฌ, ๋ Œ๋”๋Ÿฌ, ์˜ค๋””์˜ค์™€ ๊ฐ™์€ ์˜์—ญ์—์„œ ์‘์šฉ ํ”„๋กœ๊ทธ๋žจ์˜ ์„ฑ๋Šฅ์— ๋Œ€ํ•œ ๋ฐ์ดํ„ฐ๋ฅผ ์ˆ˜์ง‘ํ•˜๊ณ  ํ‘œ์‹œํ•œ๋‹ค. * Profiler ์„ค์ •- Autoconnect Profiler: ๋นŒ๋“œ ๊ณผ์ •์—์„œ Unity Editor ๊ฐ€ IP ์ฃผ์†Œ๋ฅผ ๋นŒ๋“œ๋œ Player ์— ์ถ”๊ฐ€ํ•œ๋‹ค.Player ๊ฐ€ ์‹œ์ž‘๋  ๋•Œ ๊ตฌ์šด IP ์ฃผ์†Œ์— ์žˆ๋Š” Editor ์—์„œ Profiler ์— ์—ฐ๊ฒฐ์„ ์‹œ๋„ํ•ด์„œ ์ž๋™์œผ๋กœ Profiler ๋ฅผ ๋Œ๋ฆด ์ˆ˜ ์žˆ๋‹ค.- Deep Profiling Support: Profiler Markers์— ๋ช…์‹œ๋œ ๋ถ€๋ถ„๋ฟ ์•„๋‹ˆ๋ผ ๋ชจ๋“œ์˜ ๋ชจ๋“  ๋ถ€๋ถ„์„ Profiling ํ•œ๋‹ค. ๋นŒ๋“œ์— ์•ฝ๊ฐ„์˜ ์˜ค๋ฒ„ํ—ค๋“œ๊ฐ€ ์ถ”๊ฐ€ ๋œ๋‹ค. => Android, iOS ๋ชจ๋ฐ”์ผ ์žฅ์น˜์—์„œ ์›๊ฒฉ ํ”„๋กœํŒŒ์ผ๋ง๋„ ์ง€์›ํ•œ๋‹ค!  * Common Profiler..

[Unity Document Study] 1์ฃผ์ฐจ :: Unity Analysis - Memory in Unity

Unity ๋Š” Memory ์„ฑ๋Šฅ์„ ์œ„ํ•ด 3๊ฐ€์ง€ Memory ๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค. 1. Managed memory: Heap ๊ณผ Garbage Collector ๋กœ ๋ฉ”๋ชจ๋ฆฌ๋ฅผ ์ž๋™์œผ๋กœ ํ• ๋‹น&ํ•ด์ œ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ2. C# unmanaged memory: C# Collections package ๋ฐ์ดํ„ฐ ๊ตฌ์กฐ๋กœ ๊ตฌํ˜„ ๋ฐ ๊ด€๋ฆฌ ๊ฐ€๋Šฅ.3. Native memory: Unity Engine ์„ ์‹คํ–‰ํ•˜๋Š”๋ฐ ์‚ฌ์šฉํ•˜๋Š” C++ ๋ฉ”๋ชจ๋ฆฌ. ์‚ฌ์šฉ์ž๊ฐ€ ์ง์ ‘ Access ํ•  ์ˆ˜๋Š” ์—†์œผ๋‚˜ ์•Œ๊ณ ๋Š” ์žˆ์–ด์•ผ ํ•˜๋Š” ๋ถ€๋ถ„.  * Managed memoryMono ์™€  IL2CPP ์˜ scripting virtual machines(VMs)์€ Managed memory ๋ฅผ ์‹คํ–‰ํ•œ๋‹ค. 1) The managed heap: VMs ๊ฐ€ Garbage Collec..

[Unity] Prefab Variant ํ”„๋ฆฌํŒน ์ƒ์†

https://docs.unity3d.com/kr/2023.2/Manual/PrefabVariants.html ํ”„๋ฆฌํŒน ๋ฐฐ๋ฆฌ์–ธํŠธ - Unity ๋งค๋‰ด์–ผํ”„๋ฆฌํŒน ๋ฐฐ๋ฆฌ์–ธํŠธ๋Š” ํ”„๋ฆฌํŒน์˜ ์‚ฌ์ „ ์ •์˜๋œ ๋ฐฐ๋ฆฌ์—์ด์…˜ ์ง‘ํ•ฉ์ด ํ•„์š”ํ•  ๋•Œ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค.docs.unity3d.com https://programing-note.tistory.com/entry/unity-Prefab-Variants unity _Prefab Variants2018๋ฒ„์ „๋ถ€ํ„ฐ Prefab Variants ๋ผ๋Š”๊ฒƒ์„ ์ง€์›ํ•œ๋‹ค. Prefab Variants ๋Š” ํ”„๋ฆฌํŽฉ์˜ ์ž์‹ ๊ณ„๋…์ด๋ผ ์ƒ๊ฐํ•˜๋ฉด ์‰ฝ๋‹ค. ์•„๋ž˜ ๊ทธ๋ฆผ์ฒ˜๋Ÿผ ๊ธฐ์กด ํ”„๋ฆฌํŒน์„ ๋ฐ”๊ฟ”์„œ Original ํ”„๋ฆฌํŒน์„ ์žฌ์ƒ์„ฑ ํ•˜๊ฒŒ๋˜์—ˆ์„๋•Œ ๋‘๊ฐœ๋กœ ๋‚˜๋‰˜์–ดprograming-note.tistory.com

[Unity] Sound ๋ชจ๋ฐ”์ผ ์ตœ์ ํ™”

3D ์Œํ–ฅํšจ๊ณผ๊ฐ€ ๊ตฌ์ง€ ํ•„์š”์—†๋Š” ๊ฒฝ์šฐ(ex. ํšจ๊ณผ์Œ) ์ตœ์ ํ™”๋ฅผ ํ•ด์ฃผ์ž.  [Audio Source ์ตœ์ ํ™”] 1) AudioSource > 3D Sound Settings > Doppler Level ๋น„ํ™œ์„ฑํ™”.: ๋„ํ”Œ๋Ÿฌ ํšจ๊ณผ 1 -> 0 ์œผ๋กœ ๋ณ€๊ฒฝํ•˜์—ฌ ๋น„ํ™œ์„ฑํ™”ํ•˜๊ธฐ.: ์ฝ”๋“œ์ƒ์—์„œ๋„ AudioSource๋ณ€์ˆ˜.dopplerLevel = 0.0f ๋กœ ๊ฐ€๋Šฅ. 2) AudioSource > Reverb Zon Mix ๋น„ํ™œ์„ฑํ™”.: ๋™๊ตด ํšจ๊ณผ 1 -> 0 ์œผ๋กœ ๋ณ€๊ฒฝํ•˜์—ฌ ๋น„ํ™œ์„ฑํ™”.  [Audio Clip ์ตœ์ ํ™”] 1) Audio Clip ํŒŒ์ผ > Force To Mono ์ฒดํฌ: ๋ณต์ˆ˜ ์‚ฌ์šด๋“œ ์ฑ„๋„ ํ•˜๋‚˜๋กœ ํ•ฉ์น˜๊ธฐ. ์ž…์ฒด ์Œํ–ฅ ํšจ๊ณผ ์—†์• ๊ธฐ. 2) Normalize ์ฒดํฌ.: ์‚ฌ์šด๋“œ ์ •๊ทœํ™”. 3) Load In Background ..

Unity Canvas :: Reference Pixels Per Unit

https://delightdev.com/unity-reference-pixels-per-unit-%EC%9D%B4%ED%95%B4/ Unity - Reference Pixels Per Unit ์ดํ•ด ์ด ๊ธ€์—์„œ๋Š” Unity์˜ Canvas Scaler์—์„œ ์ค‘์š”ํ•œ ์„ค์ •์ธ Reference Pixels Per Unit์— ๋Œ€ํ•ด ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค. ์ด ์„ค์ •์€ ์Šคํ”„๋ผ์ดํŠธ์™€ UI ์š”์†Œ์˜ ํฌ๊ธฐ ์กฐ์ ˆ์— ํ•ต์‹ฌ์ ์ธ ์—ญํ• ์„ ํ•˜๋ฉฐ, ๋‹ค์–‘ํ•œ ํ•ด์ƒ๋„์—์„œ UI์˜ ์ผ๊ด€๋œ delightdev.com https://docs.unity3d.com/ScriptReference/Canvas-referencePixelsPerUnit.html Unity - Scripting API: Canvas.referencePixelsPerUnit Sprites h..

[Unity] Button onClick.AddListener

AddLisener ๋กœ ๋ฒ„ํŠผ์— ์ด๋ฒคํŠธ ํ• ๋‹นํ•˜๊ธฐ 1. ์ธ์ž๊ฐ€ ์—†๋Š” ๋ฉ”์„œ๋“œ ์ผ ๋•Œ void Awake() { button.onClick.AddListener(PressBtn); } void PressBtn() { } 2. ์ธ์ž ์žˆ๋Š” ๋ฉ”์„œ๋“œ ์ผ ๋•Œ void Awake() { button.onClick.AddListener(() => OpenPopup("Title")); button.onClick.AddListener(delegate { OpenPopup("Title"); }); } void OpenPopup(string title) { } ์ธ์ž๊ฐ€ ์žˆ๋Š” ๋ฉ”์†Œ๋“œ๋ฅผ ํ˜ธ์ถœํ•  ๋•Œ๋Š” ๋žŒ๋‹ค์‹์ด๋‚˜ ๋ธ๋ฆฌ๊ฒŒ์ดํŠธ๋ฅผ ์‚ฌ์šฉํ•œ๋‹ค. * ์ฐธ๊ณ  https://docs.unity3d.com/2018.3/Documentation/ScriptR..

728x90