Unity中Wikitude安卓端运行异常及提示信息咨询
Hey there, let's break down your Wikitude problems step by step—since you're new to AR, these are super common hurdles, so don't stress!
1. Fixing the "Running without platform assisted tracking support" Message
First, let's unpack what this message means: Wikitude can't access your device's native AR framework (Google AR Core for Android), so it's falling back to less accurate software-only tracking. Here's how to address it:
Verify Device Compatibility
Google AR Core requires Android 7.0+ (API Level 24) and specific hardware (most 2017+ devices are supported). Install the Google Play Services for AR app from the Play Store—if it says your device isn't supported, software tracking is your only option. If it does support AR Core, move on to the next steps.Check Unity Project Configuration
- Open your Unity project, go to
Window > Package Managerand confirm you have the latest Wikitude SDK and AR Core packages installed. - Head to
Edit > Project Settings > Player > Android > Other Settings:- Set Minimum API Level to Android 7.0 (API Level 24) or higher.
- Under AR Settings, toggle AR Core Required (or Optional if you want unsupported devices to fall back to software tracking).
- Ensure the
CAMERApermission is enabled (andACCESS_FINE_LOCATIONif you're using location-based AR features).
- Open your Unity project, go to
Update Software
Make sure your device has the latest version of Google Play Services for AR, and you're using the most recent Wikitude Unity SDK.
2. Getting Your Custom Wikitude Project to Run
If the sample project starts working after fixing the above, your custom project likely has a configuration mismatch. Try these steps:
Compare with the Working Sample Project
Open both your project and the Wikitude sample project side by side. Check every setting inPlayer Settings,Package Manager, andBuild Settings—even small differences (like API levels or permissions) can break things.Validate Scene Setup
Ensure your AR scene has aWikitudeCameracomponent attached to the main camera. Double-check that the AR Provider is set toAR Core(not software-only) in the component's inspector.Debug with Logcat
Connect your Android device to your computer, open Android Studio, and use the Logcat tool. Filter for "Wikitude" to see detailed error messages (like permission denials, missing resources, or initialization failures). This is the most powerful way to pinpoint issues in Unity Android builds.Test a Minimal Build
Create a brand new Unity scene with just a WikitudeCamera and a simple target image. Build and run this minimal scene—if it works, your original project has a problem with specific assets or scripts.
Quick Tip for AR Newbies
Start by getting the Wikitude sample project fully stable first. Once that's working, gradually migrate your custom content into the sample project instead of building from scratch. This eliminates setup-related headaches so you can focus on your AR logic.
内容的提问来源于stack exchange,提问作者Samir Shaikh

