FAQ

beginner faq

World Map Strategy Kit · Troubleshooting & FAQ

Is this asset compatible with Unity 6?

Yes. All Kronnect assets are fully compatible with Unity 6. The minimum supported version is Unity 2022.3 LTS, and this includes Unity 6 and any newer releases.

Is there any way to make the map texture sharper when zoomed in?

In Viewport mode, some styles apply a blur effect to smooth out pixelation when zooming. Other styles show the raw texture, which will pixelate at extreme zoom levels.

Alternatives for sharper zoom:

  • Use a higher resolution Earth texture (e.g., the 16K style).
  • Use a custom shader with multiple texture layers.
  • Enable the online tile system for street-level zoom — see Tutorials & Demos for the tile integration video.
Which rendering pipeline should I use?

WMSK supports both Built-in and Universal Rendering Pipeline. URP requires a few additional setup steps — see Setup for details.

Can I use WMSK with the New Input System?

Yes. The demo scenes use the legacy Input System, but WMSK works with both. Set Project Settings > Player > Active Input Handling to Both to run the demos, then use whichever system you prefer in your project.

How do I create a custom / fictional map?

Use the built-in World Map Editor to modify country boundaries, add or remove provinces, place cities, and define mount points. You can also import your own geodata files. See Creating Your Own Map for a full walkthrough.

Can I use WMSK on mobile platforms?

Yes. WMSK runs on iOS, Android, and WebGL. For mobile, consider using lower resolution textures and disabling features like province highlighting to maintain performance.

My question is not covered here

Visit the Kronnect Support to post your question. The team typically responds within 24 hours.

How do you access and set custom attributes on countries in the World Map Strategy Kit?

Use the .attrib property on a country object. For example: country.attrib["currency"] = "euro" to set an attribute, or Debug.Log(country.attrib["currency"]) to retrieve it. A demo scene with sample code is available in the asset.

How can I color countries in WMSK with transparency/alpha?

Use scripting to set colors with alpha values. Demo scene 1 includes an example implementation - check the 'Colorize Europe' button to see how it's done in just a few lines of code.

How can I set different pathfinding costs for each faction instead of using a global matrix cost for all countries?

Store the pathFindingCustomRouteMatrix array per faction and update it only when a country changes faction. Then assign the appropriate matrix to WMSK before using unit movement. This avoids the need to update the global matrix before every unit move.

What is the highest texture resolution available in the asset, and what are the best practices for improving map quality on mobile devices?

The highest texture size is 16K divided into 4 big 8K textures. For mobile games, the most practical approach is to use progressive detail with the tile system and cached tiles. This allows you to load more detailed patches as the user zooms in, similar to Google Maps, without restricting performance to high-end GPUs.

I'm getting an 'Insecure connection not allowed' error when trying to load tiles from OpenStreetMaps. How do I fix this?

This is a breaking change in recent Unity versions. Enable the 'Allow downloads over HTTP' option in Project Settings > Player > Other Settings and set it to 'Always allow'. Alternatively, use a custom tile URL that supports HTTPS instead of HTTP.

How can I detect when AddMarker2DSprite markers go outside the camera viewport to disable them for performance optimization?

Markers added to the 2D map don't have a viewport concept like units do. Instead, use Unity's standard MonoBehaviour OnBecameVisible and OnBecameInvisible events to detect when markers enter or leave the camera view, then disable them accordingly.

How can 3D trees be implemented in viewport mode?

Add any 3D object in viewport mode using the WMSK_MoveTo method and set the isStatic property. Example: GameObjectAnimator anim = tower.WMSK_MoveTo(x, y, true); anim.isStatic = true;


I have a question not covered here

Please visit the Support Center and use our AI Support Assistant to get answers. If the issue persists, submit a reproduction project so we can investigate further and help you.

Was this page helpful?