Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Unity の meta ファイルの過不足の merge を防止しよう / How to pr...
Search
Kuniwak
PRO
March 24, 2021
Programming
3.9k
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Unity の meta ファイルの過不足の merge を防止しよう / How to prevent missing or dangling meta files
Gotanda.unity #17 sponsored by 株式会社キッズスター 2021/3/24
https://meetup.unity3d.jp/jp/events/1279
Kuniwak
PRO
March 24, 2021
More Decks by Kuniwak
See All by Kuniwak
AIベース静的検査器の偽陽性率を抑える工夫3選
orgachem
PRO
8
3.1k
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
16
12k
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
40
24k
DeNA での思い出 / Memories at DeNA
orgachem
PRO
8
3.8k
それ CLI フレームワークがなくてもできるよ / Building CLI Tools Without Frameworks
orgachem
PRO
18
4.9k
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
4
820
テストケースの名前はどうつけるべきか?
orgachem
PRO
2
1k
欠陥を早期に発見するための Software Engineer in Test とその重要性 / What is Software Engineer in Test and How they works
orgachem
PRO
22
5.2k
住宅を WebXR で評価しよう / Evaluating My Home by WebXR
orgachem
PRO
0
260
Other Decks in Programming
See All in Programming
Are APIs Still Relevant in the AI Era?
soyuka
0
440
すこし踏み込む CancellationToken
htkym
2
1.7k
気持ちぃ〜角丸 Squircle
ryu1013
0
150
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.5k
Androidだけじゃない、DroidKaigiで広がった私の技術スタック
akkeylab
0
120
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
140
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
740
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
120
setup-vp GitLab対応の裏側
naokihaba
0
160
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8k
AI が書く Go コードの品質を劇的に向上させる Linter: “declscope”
mpyw
0
490
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2k
Featured
See All Featured
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
2.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Writing Fast Ruby
sferik
630
63k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
290
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
530
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
260
sira's awesome portfolio website redesign presentation
elsirapls
0
450
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
570
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
320
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
610
Transcript
6OJUZͷNFUBϑΝΠϧͷ աෆΛࢭ͠Α͏ Kuniwak - DeNA Co.,Ltd. 2021.03.24 Gotanda.unity #17
ؒͰ͍͑ͨ͜ͱ
6OJUZͰॏཁͳNFUBϑΝΠϧͷաෆΛ ετϨεͳ͘ݟ͚ͭΔπʔϧ͍͔͕Ͱ͔͢ 3 ͍͑ͨ͜ͱ
6OJUZͰॏཁͳNFUBϑΝΠϧͷաෆΛ ετϨεͳ͘ݟ͚ͭΔπʔϧ͍͔͕Ͱ͔͢ 4 ·ͣ͜ΕΛղઆ ͍͑ͨ͜ͱ
NFUBϑΝΠϧͱ
6 NFUBϑΝΠϧΞηοτͷϝλใ͕ه͞ΕͨϑΝΠϧ IUUQTEPDTVOJUZEDPN%PDVNFOUBUJPO.BOVBM"TTFU8PSLqPXIUNM fileFormatVersion: 2 guid: 96e963ca667b44… TextureImporter: internalIDToNameTa externalObjects:
{} serializedVersion: mipmaps: mipMapMode: 0 … ը૾ΞηοτΛ JNQPSU ରԠ͢ΔNFUBϑΝΠϧ͕ ࣗಈੜ͞ΕΔ 6OJUZͷΠϯεϖΫλ͔Β ͍͡ΕΔ TBNQMFQOH TBNQMFQOHNFUB
6OJUZͰॏཁͳNFUBϑΝΠϧͷաෆΛ ετϨεͳ͘ݟ͚ͭΔπʔϧ͍͔͕Ͱ͔͢ 7 ͜͜·Ͱ0, ͍͑ͨ͜ͱ
6OJUZͰॏཁͳNFUBϑΝΠϧͷաෆΛ ετϨεͳ͘ݟ͚ͭΔπʔϧ͍͔͕Ͱ͔͢ 8 Կ͕ى͜Δͷ͔ ͍͑ͨ͜ͱ
NFUBϑΝΠϧաෆͷᜁΓ
NFUBϑΝΠϧΛ DPNNJU͠ΕΔ όάΔ͔ NFUBϑΝΠϧΛ ফ͠ΕΔ ࡞ۀͷअຐ
NFUBϑΝΠϧΛ DPNNJU͠ΕΔ όάΔ͔ NFUBϑΝΠϧΛ ফ͠ΕΔ ࡞ۀͷअຐ
12 NFUBϑΝΠϧͷDPNNJUΕόάͷݪҼʹͳΔ TBNQMFNBUʢϚςϦΞϧʣ TBNQMFQOHʢςΫενϟʣ TBNQMFQOHNFUB fileFormatVersion: 2 guid: 96e963ca667b44… TextureImporter:
... ςΫενϟͷࢀর ϚςϦΞϧ͔Β ςΫενϟΛ ࢀর͍ͨ͠
13 NFUBϑΝΠϧͷDPNNJUΕόάͷݪҼʹͳΔ TBNQMFNBUʢϚςϦΞϧʣ TBNQMFQOHʢςΫενϟʣ TBNQMFQOHNFUB fileFormatVersion: 2 guid: 96e963ca667b44… TextureImporter:
... NFUBͷ(6*%Λࢀর ࣮ମ ը૾ͷNFUBʹ ॻ͔Εͨ(6*%͕ ϚςϦΞϧଆʹ ॻ͔ΕͯΔ͜ͱͰ ࣮ݱ͞Ε͍ͯΔ
14 NFUBϑΝΠϧͷDPNNJUΕόάͷݪҼʹͳΔ TBNQMFNBUʢϚςϦΞϧʣ TBNQMFQOHʢςΫενϟʣ TBNQMFQOHNFUBʢผʣ fileFormatVersion: 2 guid: 96e963ca667b44… TextureImporter:
... NFUBͷ(6*%Λࢀর ࣮ମ ͠NFUBϑΝΠϧΛ DPNNJU͠ΕΔͱɺ ผͷਓͷڥͩͱ ผͷNFUBϑΝΠϧ͕ ࣗಈੜ͞Εͯ͠·͏
15 NFUBϑΝΠϧͷDPNNJUΕόάͷݪҼʹͳΔ TBNQMFNBUʢϚςϦΞϧʣ TBNQMFQOHʢςΫενϟʣ TBNQMFQOHNFUBʢผʣ fileFormatVersion: 2 guid: 96e963ca667b44… TextureImporter:
... NFUBͷ(6*%Λࢀর ࣮ମ ผͷNFUBʹผͷ (6*%͕ৼΒΕΔͷͰ ࢀর͕ΕΔ
16 NFUBϑΝΠϧͷDPNNJUΕόάͷݪҼʹͳΔ TBNQMFNBUʢϚςϦΞϧʣ TBNQMFQOHʢςΫενϟʣ TBNQMFQOHNFUBʢผʣ fileFormatVersion: 2 guid: 96e963ca667b44… TextureImporter:
... NFUBͷ(6*%Λࢀর ࣮ମ ςΫενϟͷࢀর ݁ՌతʹϚςϦΞϧ ςΫενϟΛࢀর Ͱ͖ͳ͘ͳͬͯόάΔ
NFUBϑΝΠϧΛ DPNNJU͠ΕΔ όάΔ͔ NFUBϑΝΠϧΛ ফ͠ΕΔ ࡞ۀͷअຐ
NFUBϑΝΠϧΛফ͠ΕΔͱ खݩͰຖؔͳ͍͕ࠩग़ͯ͏͍͟
6OJUZͰॏཁͳNFUBϑΝΠϧͷաෆΛ ετϨεͳ͘ݟ͚ͭΔπʔϧ͍͔͕Ͱ͔͢ 19 ͍͠͏͍͟ ͍͑ͨ͜ͱ
20 ͔͠͠ɺͨͼͨͼNFUBϑΝΠϧͷ աෆ͕ຖൃੜ͍ͯͨ͠ ͦ͜ͰNFUBϑΝΠϧͷաෆΛͳͳ ͢༯ਫ਼͞Μ͕ੜͨ͠ͱ͍͏ʜ
ͦ͜Ͱ༯ਫ਼͞ΜΛۤߦ͔Βղ์͢Δ πʔϧΛͭ͘Γ·ͨ͠
None
23 $ cd /path/to/unity/project $ unity-meta-check -silent missing: Autofix/Missing.meta missing:
Missing.meta dangling: Autofix/Dangling.meta dangling: Dangling.meta λʔϛφϧͰ؆୯ʹ࣮ߦͰ͖Δ
24 NFUBʹաෆ͕͋Δ13ͷNFSHFΛ CMPDL͢Εଞͷਓͷ࡞ۀΛࢭΊͳ͍ͰࡁΉ
25 ݕࠪͷ࣮ߦ࣌ؒ࡞ۀ͕ ࢭ·ͬͯ͠·͏͜ͱʹҙ NFUBʹաෆ͕͋Δ13ͷNFSHFΛ CMPDL͢Εଞͷਓͷ࡞ۀΛࢭΊͳ͍ͰࡁΉ
6OJUZͰॏཁͳNFUBϑΝΠϧͷաෆΛ ετϨεͳ͘ݟ͚ͭΔπʔϧ͍͔͕Ͱ͔͢ 26 ͜͜ॏཁ ͍͑ͨ͜ͱ
ετϨεͷͳ͞
Ξηοτ ࣮ߦඵ
+FOLJOTʹࡌ͚ͬͯ ࣮ߦඵະຬ +FOLJOTͷͪ࣌ؒͱήʔϜຊମͷQVMM࣌ؒͷΦʔόʔϔου͕͍
͔ͬͨʜʂʁʢϑϥάʣ
31 +FOLJOT্Ͱੜ͞ΕͨΞηοτ ʢϚελʔσʔλʣʹ NFUBϑΝΠϧ͕ͳ͍ʜ
32 $ unity-meta-check | unity-meta-autofix \ -fix-missing \ -fix-dangling \
./Assets/AutoGenerated/ ؆қతͳBVUPpYػೳ͡Ί·ͨ͠
͜ΕͰ࣮ӡ༻ʹΕ·ͨ͠
ӡ༻ͯ͠Θ͔ͬͨ͜ͱ
NFUBաෆ ୭ѱ͘ͳ͔ͬͨ ਓʑ6OJUZͱ(JUʹ ࿔͞Ε͍ͯΔ͚ͩͩͬͨ ࠔͬͯͨਓ͕6OJUZ࠶ىಈͨ͠Β࣏Γ·ͨ͠ใࠂ͢ΔͳͲṖ͕ਂ͍ (JUۭϑΥϧμΛ෮ݩ͠ͳ͍ͷͰରԠͨ͠NFUB͕ʹු͘ ʢͨͩ͠6OJUZ͔ΒۭϑΥϧμ࡞ͬͯ͘ΕΔʣ
·ͱΊ 36 6OJUZͰॏཁͳNFUBϑΝΠϧͷաෆΛ ετϨεͳ͘ݟ͚ͭΔπʔϧ͍͔͕Ͱ͔͢
37 Πϯετʔϧํ๏3&"%.&ΛΈ͍ͯͩ͘͞ɿ https://github.com/DeNA/unity-meta-check