Claude Opus 5.5 से पहला खेलने योग्य Unreal लेवल बनाएं
स्वतंत्र क्रिएटर के लिए चरणबद्ध तरीका: वास्तविक Unreal कनेक्शन साबित करें, तीन collectibles, जीत और रीस्टार्ट वाला greybox बनाकर स्वयं Play-test करें, फिर तय करें कि Meshy और Blender जरूरी हैं या नहीं।
विषय-सूची

व्यावहारिक सलाह है कि पहले दिन Claude Code, Unreal, Meshy और Blender—सभी को एक साथ न जोड़ें। पहले साबित करें कि Claude Code वास्तव में चल रहे Unreal Editor को पढ़ सकता है। फिर primitives से ऐसा greybox बनाएं जिसमें आप चल सकें, तीन वस्तुएं इकट्ठी कर सकें, जीत सकें और लेवल रीस्टार्ट कर सकें। हर चरण को स्वयं Play में जांचें। यह मूल loop स्थिर होने के बाद ही तय करें कि generated 3D asset या Blender cleanup अतिरिक्त जटिलता के योग्य है या नहीं।
यह वर्तमान आधिकारिक दस्तावेजों पर आधारित मार्गदर्शिका है; यह दावा नहीं कि लेखक ने आपके प्रोजेक्ट पर इसे चला लिया है। Epic अभी भी Unreal MCP को Experimental कहता है और बताता है कि features, APIs और data formats बदल सकते हैं। इसलिए इस लेख में MCP connection, tool का success result और वास्तव में खेलने योग्य game—तीन अलग प्रमाण हैं।
पहले तय करें कि यह तरीका आपके लिए सही है या नहीं
यह उन स्वतंत्र डेवलपर्स के लिए बेहतर है जो Unreal की बुनियादी अवधारणाएं समझते हैं, version control रखते हैं और हर छोटे बदलाव के बाद Play-test करने को तैयार हैं। Claude ऐसे काम को तेज कर सकता है जिसे आप स्पष्ट रूप से बता और जांच सकते हैं; वह अकेले यह तय नहीं कर सकता कि movement, camera, collision या game feel सही है।
| स्थिति | सुझाव |
|---|---|
| आप project structure समझते, बदलाव review करते और Play-test कर सकते हैं | नीचे दिए न्यूनतम greybox से शुरू करें |
| केवल game loop जांचना है | Unreal primitives रखें; Meshy और Blender अभी छोड़ें |
| backup या rollback path नहीं है | रुकें और copy तथा version checkpoints बनाएं |
| एक prompt से पूरा game चाहिए | लक्ष्य को observable छोटे systems में बांटें |
| केवल एक Actor या एक numeric value बदलनी है | अक्सर manual edit तेज होता है |
Anthropic Opus 5.5 को complex coding और लंबे agentic work के लिए प्रस्तुत करता है। इससे visual result अपने-आप verified नहीं हो जाता। Model को inspect, plan और execute करने दें; approval, observation और Play validation मनुष्य के पास रखें।
अधिक tools लगाने से पहले सबसे छोटा playable result तय करें
इस guide का लक्ष्य केवल चार requirements हैं:
- Player
Player Startसे शुरू होकर स्पष्ट route से endpoint तक चल सके। - तीन दिखाई देने वाले collectibles हर एक केवल एक बार counter बढ़ाएं, 0 से 3 तक।
- तीनों collect होने के बाद ही endpoint पर जीत मिले।
Rदबाने पर player position, counter, collectibles और win state reset हों।
इन्हें project brief में लिखें। हर batch के लिए change, expected result, actual result और pass/fail दर्ज करें। Connected का अर्थ playable नहीं है। Compiled का अर्थ playable नहीं है। Tool द्वारा request स्वीकार होना भी playable नहीं है। प्रत्येक gate केवल manual Play-test से पास होता है।
Gate 1: Claude Code को official Unreal MCP से जोड़ें
पहले recovery point बनाएं
Project save करें और current state का commit या shelve बनाएं। Epic का official plugin Claude को running editor पर व्यापक live access देता है, जिसमें editor process के अंदर Python चलाने वाला tool भी है। Official README इसे assistant-generated arbitrary code चलाने जैसा मानने, लंबी session से पहले save करने और diff review करने की सलाह देता है।
महत्वपूर्ण project पर --dangerously-skip-permissions न चलाएं। पहली कोशिश copy, sandbox या disposable branch में करें।
Unreal के दोनों plugins enable करें
यह guide Epic की मौजूदा official Unreal MCP page पर आधारित है, जो Unreal Engine 5.8 Documentation के अंतर्गत प्रकाशित है। यह मानता है कि आपके engine build में Unreal MCP (ModelContextProtocol) और All Toolsets (AllToolsets) सच में मौजूद हैं। इससे यह न मानें कि हर UE5 version में यही plugins होंगे। कोई plugin न मिले तो रुकें और Epic docs द्वारा covered build इस्तेमाल करें; community MCP को official implementation की जगह न रखें।
Official setup follow करें:
- Edit → Plugins में Unreal MCP enable करें।
- All Toolsets भी enable करें। इसके बिना server मौजूद होकर भी usable tools नहीं दे सकता।
- Editor restart करें।
- Editor Preferences में Auto Start Server enable करें या console में चलाएं:
ModelContextProtocol.StartServer
Default local endpoint http://127.0.0.1:8000/mcp है। इसमें default authentication नहीं है और यह remote exposure के लिए नहीं बना। Port को public internet पर forward न करें और shared machine पर न चलाएं।
Claude Code configuration generate करें
Unreal console में चलाएं:
ModelContextProtocol.GenerateClientConfig ClaudeCode
Launcher installation आम तौर पर .mcp.json को .uproject के पास लिखता है; source build इसे Engine/ के साथ workspace root में लिख सकता है। Port बदलने पर file फिर generate करें। Claude Code उसी root से शुरू करें जिसमें configuration मौजूद है।
Epic का official Claude Code plugin install करें:
/plugin install unreal-engine-skills-for-claude-code@claude-plugins-official
Official marketplace न मिले तो पहले जोड़ें:
/plugin marketplace add anthropics/claude-plugins-official
Model access, Unreal और asset service को अलग रखें
Claude Code Anthropic account या compatible model API इस्तेमाल कर सकता है। BetterToken इस्तेमाल करने पर वर्तमान Claude Code guide ANTHROPIC_BASE_URL को https://bettertoken.ai रखने, /v1 न जोड़ने, और ANTHROPIC_AUTH_TOKEN को local config में रखने को कहता है। असली API Key को chat, repository या material bundle में न डालें।
Anthropic का official model ID claude-opus-5-5 है। BetterToken के जरिए route करते समय current Model Plaza से exact ID copy करें और selected Key group में उसकी availability confirm करें; start होने के बाद /model और provider request records से actual routing verify करें, पुराने copied config पर भरोसा न करें।
केवल green indicator नहीं, वास्तविक read-only call जांचें
चारों स्तर verify करें:
/pluginofficial Unreal plugin को enabled दिखाता है।/mcpमेंunreal-mcpदिखाई देता है।- Unreal Output Log में port या dependency error नहीं है।
- Read-only prompt वास्तविक level name, प्रमुख Actor और
Player Startकी मौजूदगी लौटाता है।
अंतिम जांच साबित करती है कि editor सचमुच reachable है। Epic स्पष्ट करता है कि connected proxy या cached tools live Unreal call की सफलता साबित नहीं करते।
Gate 2: केवल चलने योग्य greybox बनाएं
पहले पहले से playable third-person baseline बनाएं। Player Start केवल spawn location बताता है; वह अपने-आप controllable character, GameMode, input या camera नहीं देता। नए project में Unreal का Third Person template लें। Existing project में verify करें कि active GameMode controllable third-person pawn spawn करता है, movement input और follow camera चलते हैं, और level में Player Start मौजूद है।
MCP से geometry बदलवाने से पहले Simulate नहीं, Play क्लिक करें। Confirm करें कि character वास्तव में spawn होता है, WASD से चलता है और mouse से camera नियंत्रित होता है; फिर PIE stop करें। कोई check fail हो तो पहले baseline ठीक करें, greybox prompt में समस्या छिपाएं नहीं।
Baseline pass होने पर Claude से current level, GameMode, player character और available toolsets read-only पढ़वाएं, फिर plan और बदलने वाले assets सूचीबद्ध करवाएं। Tool missing हो तो task रुकना चाहिए। Boundary इस तरह दें:
Play में pass हो चुके third-person baseline पर current level में minimal greybox बनाओ। Existing player character, GameMode, input mappings और camera को बनाए रखो; उन्हें replace या rebuild मत करो। Primitives से floor, boundaries, एक साफ route और endpoint marker बनाओ। Enemy, art asset या complex UI मत जोड़ो। हर created/changed asset report करो। Required tool missing, compilation fail या result explicit success न हो तो रुक जाओ।
Execution rules:
- Same asset या editor state पर dependent changes serial चलाएं।
- C++, Blueprint या shader compilation पूरी होने दें; accepted request finished compile नहीं है।
- हर result status पढ़ें और explicit success न हो तो रुकें।
Play check A: फिर Play करें, Player Start पर spawn हुए character से पूरी route चलें। Boundary से बाहर निकलना, narrow gap में फंसना या invisible obstacle कूदना पड़े तो fail है। केवल observed failure ठीक करें; camera, material या route को साथ में redesign न करें।
Pass होने पर save, commit और recovery point mark करें।
Gate 3: तीन collectibles जोड़ें
अगला batch केवल collection rules जोड़ता है और पहले से accepted route को सुरक्षित रखता है:
Route पर तीन स्पष्ट और अलग collectibles जोड़ो। Touch हर object पर केवल एक बार trigger हो, फिर object hide या remove हो, और readable counter 0 से 3 तक बढ़े। Player Start, route, boundaries या endpoint न बदलो। संबंधित Blueprints, variables, events और UI assets report करो तथा Play checklist दो।
Play gate B: Normal और reverse order में collect करें; हर item एक बार count हो; sequence 1, 2, 3 हो; पुरानी location से दोबारा गुजरने पर count न बढ़े; नई Play session 0 से शुरू हो।
Claude “complete” कहे लेकिन Play में counter न बदले, तो gate fail है। Actual behavior और Output Log लिखें, पहले diagnosis मांगें और फिर केवल एक narrow fix दें।
Gate 4: जीत और restart जोड़ें
अंतिम gameplay batch केवल completion और reset जोड़ता है:
Endpoint केवल counter 3 होने पर win दिखाए। कम count पर win न हो। R level restart करे और player position, तीनों collectibles, counter और win UI reset करे। Existing route और input सुरक्षित रहें। Changes report करो और पांच-step Play checklist दो।
Play gate C:
- दो items लेकर endpoint पहुंचें: win नहीं।
- तीनों collect करके पहुंचें: win दिखे।
- बीच में
Rदबाएं: सभी states reset। - Win के बाद
R: सभी states reset। - अलग order में collect करें: behavior सही रहे।
अब जाकर पहला playable level मिला है। Save और commit करें तथा external art के बिना stable greybox version रखें।
Greybox पास होने के बाद ही Meshy या Blender जोड़ें
ये optional branches हैं, default prerequisites नहीं।
केवल जरूरी distinctive prop के लिए Meshy
यह अब भी optional branch है। Official Meshy MCP server को valid MESHY_API_KEY चाहिए; API key के लिए eligible paid plan और API requests के लिए prepaid API credits चाहिए। Web app में दिखने वाला plan या workspace allowance अकेले API access या balance का प्रमाण नहीं है। Generate करने से पहले meshy_check_balance call करें।
Bash पर Claude Code के लिए नीचे का local setup इस्तेमाल करें। Key को hidden input दें, chat में paste न करें और बनी local config commit न करें:
read -rs MESHY_API_KEY && export MESHY_API_KEY
claude mcp add-json meshy "{\"command\":\"npx\",\"args\":[\"-y\",\"@meshy-ai/meshy-mcp-server\"],\"env\":{\"MESHY_API_KEY\":\"${MESHY_API_KEY}\"}}"
unset MESHY_API_KEY
फिर /mcp में meshy connected confirm करें, available Meshy tools list करवाएं और meshy_check_balance call करें। ये checks generation task नहीं बनाते। Key, plan या API balance usable न हो तो यहीं रुकें।
एक simple text-to-3D collectible route लें:
- Short, specific
promptऔरtarget_formats: ["glb"]के साथmeshy_text_to_3dcall करें। यह untextured preview बनाता है। Preview success के बाद ही और texture सच में जरूरी हो तभीmeshy_text_to_3d_refineचलाएं। Refine नया task ID लौटाता है: preview और refine दोनों IDs रखें, फिर textured result की status query और download के लिए refine ID के साथ task typetext-to-3dइस्तेमाल करें। - Returned task ID और task type
text-to-3drecord करें। केवल natural-language chat response न बचाएं। - Same ID/type से
meshy_get_task_statuscall करें।PENDING,IN_PROGRESSया tool-levelTIMEOUTfailure नहीं हैं। Status check में network break,429या5xxभी task कोFAILEDनहीं बनाते; same task ID बाद में query करें, duplicate paid task न बनाएं। - केवल
SUCCEEDEDके बाद download करें।FAILEDपरtask_errorपढ़ें औरCANCELEDपर रुकें। Output को explicit local source-asset path पर save करें:
meshy_download_model
task_id: <same task ID>
task_type: "text-to-3d"
format: "glb"
save_to: "<absolute-project-path>/SourceAssets/Props/CollectibleMarker/marker.glb"
Blender या Unreal import से पहले file existence verify करें। Asset Retention के अनुसार non-Enterprise API assets अधिकतम तीन दिन रखे जाते हैं; केवल download URL न बचाएं।
Asset check D, केवल Meshy चुनने पर: Local GLB बार-बार खुलता है और task ID, task type, prompt, final status, local path record हैं। इससे अभी Unreal readiness साबित नहीं होती।
केवल स्पष्ट cleanup जरूरत पर Blender
Manual cleanup पर्याप्त है; default रूप से दूसरा MCP जरूरी नहीं। केवल Claude-driven Blender चुनने पर Blender official MCP page से official add-on, LLM client और MCP server install करें और edit से पहले scene objects की read-only inventory लें। Community ahujasid/blender-mcp के ports, tool names या setup steps न मिलाएं। Blender चेतावनी देता है कि official MCP data guards के बिना LLM-generated code चलाता है; VM या sensitive data रहित system इस्तेमाल करें।
Static collectible के लिए यह minimal route लें:
- Blender में File → Import → glTF 2.0 (.glb/.gltf) चुनकर
marker.glbखोलें। केवल target prop रखें, stray geometry manually हटाएं और scale, orientation, origin, names, materials check करें। - Editable source बचाने के लिए
<absolute-project-path>/SourceAssets/Props/CollectibleMarker/marker-clean.blendमें save करें। - केवल cleaned static prop select करें, File → Export → glTF 2.0 चुनें, format को glTF Binary (.glb) रखें, Selected Objects और Apply Modifiers enable करें और
.blendके पासmarker-clean.glbsave करें। - Unreal Content Browser में
/Game/Assets/Props/Collectibles/बनाएं या खोलें औरmarker-clean.glbimport करें। Interchange import preview में intended entry को Static Mesh confirm करें, केवल उसी static prop को import करके asset save करें। Static Mesh Editor में size check करें; जरूरत पर simple collision जोड़ें, पर existing overlap trigger को replace या break न करें। - Play-pass collectible Blueprint/Actor खोलकर केवल visible Static Mesh component की mesh reference बदलें। Trigger volume, one-shot collection event, counter, win/restart logic और placed instances बनाए रखें। Compile, save और फिर Play करें।
Asset check E, केवल Blender/import branch चुनने पर: .blend, cleaned .glb और Unreal Static Mesh खुलते हैं; scale, orientation, origin, collision explainable हैं; visible mesh बदलता है पर gameplay logic नहीं; Play checks A–C फिर pass होते हैं।
Evidence layer के अनुसार troubleshooting
| लक्षण | पहले जांचें | इसे न समझें |
|---|---|---|
/mcp connected है लेकिन level नहीं पढ़ता | Running editor, Output Log, वास्तविक read-only call | Game connection सफल |
| Server चालू है लेकिन tools नहीं | AllToolsets, जरूरत पर ModelContextProtocol.RefreshTools | Model capability fail |
| Calls hang या error | Compilation, level loading, active PIE | हमेशा network issue |
| Blueprint tool लौटता है पर gameplay fail | Result status, compile, Output Log, manual Play | काम पूरा |
Meshy status check timeout, disconnect, 429 या 5xx देता है | task ID/type रखें और same task बाद में query करें | FAILED या नया paid task बनाने का कारण |
| Download URL expire | Local copy, task ID, retention | Permanent URL |
| Imported scale/collision गलत | Units, origin, export, Unreal collision | Generated model जरूर खराब |
एक ही symptom पर दो fixes fail हों तो last accepted checkpoint पर rollback करें और task छोटा करें। दो unverified fixes पर तीसरा speculative fix न जोड़ें।
उपयोग के तीन अलग खाते रखें
“Weekly Max का 19%” API tokens में convert न करें। एक community creator ने अपनी पहली full build के लिए लगभग चार घंटे और weekly Max plan का करीब 19% बताया। यह एक व्यक्ति के एक project और configuration का report है, समय, कीमत या quota की guarantee नहीं।
| रास्ता | अलग से verify होने वाला अनिवार्य item | इसमें क्या शामिल नहीं | प्रमाण |
|---|---|---|---|
| Claude subscription के साथ Claude Code | Plan tier, session/weekly limit, active model | Meshy credits या model API bill | Claude Code model और usage views |
| Model API के साथ Claude Code | API key, actual model ID, input/output/cache tokens, balance | Claude Max weekly usage या Meshy | Provider request और billing records; BetterToken में model और token records |
| Optional Meshy assets | MESHY_API_KEY, eligible paid plan/API access, prepaid API balance, per-task usage | Model API tokens; web-app allowance API balance का proof नहीं | meshy_check_balance, tasks और billing |
| Unreal, Blender, plugins, content | Current licenses, hardware, marketplace assets, third-party plugin cost | पूरा stack मुफ्त होने की धारणा | हर provider के current terms और purchase records |
Scale करने से पहले एक level में prompt count, retries, model requests, optional Meshy task IDs, downloaded files और human Play time मापें। Core workflow को Play checks A–C reliably repeat करने चाहिए; D केवल Meshy चुनने पर और E केवल Blender/import branch चुनने पर जरूरी है। इस्तेमाल की गई branches stable होने पर ही expand करें।
अंतिम checklist
- Session से पहले और हर accepted gate के बाद rollback point है।
/mcpके अलावा वास्तविक read-only Unreal call सफल हुई।- Play में route चल सकते हैं, ठीक तीन items collect होते हैं, सही जीत मिलती है और किसी state से restart होता है।
- Asset changes से पहले PIE बंद और अगले चरण से पहले compile पूरा हुआ।
- Greybox चलने तक Meshy और Blender optional रहे।
- Meshy इस्तेमाल हुआ तो output local है और task ID, task type, final status record हैं।
- External asset ने primitive बदला तो Play checks A–C दोबारा चले।
- Actual model, model tokens, Claude subscription allowance और Meshy credits अलग-अलग verify हुए।
इस तरह परिणाम केवल आकर्षक AI demo नहीं रहता। यह एक recoverable, observable और धीरे-धीरे बढ़ाया जा सकने वाला निर्माण तरीका बनता है, जिसमें यह स्पष्ट रहता है कि वास्तव में क्या काम कर रहा है।