Softwr

Game Development · head to head

Castle Game Engine vs Unity AR Foundation

Castle Game Engine logo

Castle Game Engine

Game Development

Free open-source 3D and 2D game engine with a visual editor and a Pascal API

From
Free
Free plan
Yes
Unity AR Foundation logo

Unity AR Foundation

AR VR

Unified AR development framework for Unity

From
Free
Free plan
Yes

The short version

  • Castle Game Engine is a free, open-source cross-platform 3D and 2D engine; Unity AR Foundation is a cross-platform framework.
  • Castle Game Engine is free; Unity AR Foundation starts at $185/mo.
  • Only Castle Game Engine lists visual editor for 3D and 2D; only Unity AR Foundation lists plane detection.
  • Where Castle Game Engine falls short: pascal has a small developer community compared with C# or C++.
  • Where Unity AR Foundation falls short: requires platform-specific plugins (ARCore, ARKit) to actually implement AR features.

How do Castle Game Engine and Unity AR Foundation differ?

Castle Game Engine and Unity AR Foundation differ on platforms and category (Game Development against AR VR). Only the attributes on which Castle Game Engine and Unity AR Foundation actually diverge.

Attributes where Castle Game Engine and Unity AR Foundation differ
AttributeCastle Game EngineUnity AR Foundation
PlatformsWindows, Linux, macOS, Android, iOS, WebiOS, Android, VR and AR, Unity Editor
CategoryGame DevelopmentAR VR

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: pricing model for Unity AR Foundation, founded for Castle Game Engine.

Which features does each one have?

They share no listed features; 8 appear only for Castle Game Engine and 12 only for Unity AR Foundation. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Castle Game Engine

  • Visual editor for 3D and 2D
  • Modern Object Pascal API
  • glTF, X3D and IFC support
  • Physically based rendering and shadows
  • Composable shader effects
  • Multiplatform builds
  • Visual Studio Code, Lazarus and Delphi integration
  • Model Viewer tool

Only in Unity AR Foundation

  • Plane detection
  • Image tracking
  • Face tracking
  • Point clouds
  • ARKit
  • ARCore
  • OpenXR
  • Magic Leap

What is each one used for?

Castle Game Engine is most often brought in for pascal and Delphi developers building games; Unity AR Foundation for VR Gaming. The jobs each tool is most often brought in to do.

Castle Game Engine

  • Pascal and Delphi developers building gamesnot Unity AR Foundation
  • 3D games with glTF assetsnot Unity AR Foundation
  • 2D games with sprite sheetsnot Unity AR Foundation
  • Cross-platform mobile and desktop releasesnot Unity AR Foundation
  • Developers moving from Unitynot Unity AR Foundation

Unity AR Foundation

  • VR Gamingnot Castle Game Engine
  • AR Marketingnot Castle Game Engine
  • Virtual Trainingnot Castle Game Engine
  • 3D Visualizationnot Castle Game Engine
  • Immersive Experiencesnot Castle Game Engine

Where do Castle Game Engine and Unity AR Foundation fall short?

Castle Game Engine's most cited limit: pascal has a small developer community compared with C# or C++. Unity AR Foundation's: requires platform-specific plugins (ARCore, ARKit) to actually implement AR features. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Castle Game Engine

  • Pascal has a small developer community compared with C# or C++
  • VR support is still listed as an upcoming target, not shipped
  • Fewer third-party assets and tutorials than major engines
  • Targets Pascal, so existing C# or C++ code cannot be reused

Unity AR Foundation

  • Requires platform-specific plugins (ARCore, ARKit) to actually implement AR features
  • Performance varies significantly by device, with battery drain and heat generation on mobile
  • Emulators cannot accurately test AR experiences due to missing camera and sensor data
  • No WebXR support for browser-based AR experiences
  • Occlusion features show lower performance at 25-40 FPS compared to other features at 40-60 FPS
  • Limited access to latest platform-specific features compared to native ARKit or ARCore

How much do Castle Game Engine and Unity AR Foundation cost?

Castle Game Engine is free to use; Unity AR Foundation has a free plan, with paid plans from $185/mo. Plan by plan below, from each vendor's own pricing page.

Castle Game Engine

Free

No published plan breakdown. See the Castle Game Engine review.

Unity AR Foundation

Free
  • Included with Unity PersonalFree
    • Free for individuals and small teams with under $200K revenue/funding
    • AR Foundation package included
    • Access to all core AR features
  • Included with Unity Pro$185/mo
    • Professional tier licensing
    • AR Foundation package included
    • All core AR features plus Pro-level support

Which should you pick?

Choose Castle Game Engine if

  • You need visual editor for 3d and 2d.
  • You want to start without paying.
  • You work on Windows, Linux, macOS, Android, iOS, Web.
  • You also want modern object pascal api.

Choose Unity AR Foundation if

  • You need plane detection.
  • You want to start without paying.
  • You work on iOS, Android, VR and AR, Unity Editor.
  • You also want image tracking.

Questions people ask

Is Castle Game Engine or Unity AR Foundation better?
It depends on the job. Castle Game Engine fits pascal and Delphi developers building games; Unity AR Foundation fits vR Gaming. Castle Game Engine starts at Free and Unity AR Foundation at Free.
Which is cheaper, Castle Game Engine or Unity AR Foundation?
Castle Game Engine starts at Free and Unity AR Foundation at Free.
Does Castle Game Engine or Unity AR Foundation run on more platforms?
Castle Game Engine runs on Windows, Linux, macOS, Android, iOS, Web. Unity AR Foundation runs on iOS, Android, VR and AR, Unity Editor.
Can I use Castle Game Engine for free?
Both have a free tier, so you can try either at no cost before committing.
What is Castle Game Engine best used for?
Castle Game Engine is most often used for pascal and delphi developers building games, 3d games with gltf assets, 2d games with sprite sheets, cross-platform mobile and desktop releases. Of those, pascal and delphi developers building games and 3d games with gltf assets are not what Unity AR Foundation is typically brought in for.
What can Castle Game Engine do that Unity AR Foundation cannot?
Castle Game Engine covers Visual editor for 3D and 2D, Modern Object Pascal API, glTF, X3D and IFC support, Physically based rendering and shadows. Unity AR Foundation covers Plane detection, Image tracking, Face tracking, Point clouds.

Answered from the vendors’ own pages

Castle Game Engine: What language does it use?

Castle Game Engine uses modern Object Pascal.

Source
Unity AR Foundation: Is Unity AR Foundation free?

Yes, AR Foundation is free and included with Unity. It is a package within the Unity engine, though you need a Unity license (available free for personal use with under $200K revenue).

Source
Castle Game Engine: Is it free?

Yes, the site describes it as free and open-source.

Source
Unity AR Foundation: What platforms does AR Foundation support?

AR Foundation supports iOS (via ARKit), Android (via ARCore), visionOS, HoloLens 2 (via OpenXR), and Meta Quest (via OpenXR). Testing in the Unity Editor is available through XR Simulation.

Source
Castle Game Engine: Which asset formats does it support?

Open standards including glTF, X3D and IFC.

Source
Unity AR Foundation: Do I need additional plugins to use AR Foundation?

Yes. AR Foundation is an abstraction layer and requires platform-specific plugins: ARCore XR Plugin for Android and ARKit XR Plugin for iOS. These plugins implement actual AR features using native SDKs.

Source
Unity AR Foundation: Can I test AR experiences in the Unity Editor?

AR Foundation supports XR Simulation in the Editor for early testing, but accurate AR testing requires real devices because emulators cannot replicate camera and sensor data accurately.

Source
Unity AR Foundation: Does AR Foundation support web-based AR?

No, AR Foundation does not support WebXR. Unity has stated there are no current plans to add WebXR support to AR Foundation. Web AR requires alternative solutions like 8th Wall.

Source
Share

Related pages

Other head to heads