Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Rex Raphael
    @juicycleff
    Hi and welcome to our Gitter community page, we will be using this medium to handle communications and better the software
    Rex Raphael
    @juicycleff
    Would like to discuss milestones and also fully utilizing Unity as a Library framework moving forward
    Rex Raphael
    @juicycleff
    There is now support for ARKIT on both platforms
    MichealReed
    @MichealReed
    Thanks for making a channel
    this is a really cool project
    Rex Raphael
    @juicycleff
    Thanks @MichealReed
    Glad you like it, happy to have you
    MichealReed
    @MichealReed
    This plugin is going to be the core our mobile AR stuff, so hopefully we can begin contributing back in some meaningful ways soon
    Rex Raphael
    @juicycleff
    Happy to hear that @MichealReed
    MichealReed
    @MichealReed
    Essentially we're bringing https://www.microsoft.com/en-us/p/the-gateway/9pb5vtpzr2qq to mobile via flutter and unity widget
    Rex Raphael
    @juicycleff
    @MichealReed it really looks promising will be following it :)
    anudeep0007
    @anudeep0007
    hi iam new to flutter
    can you explain me what this mean

    First depend on the library by adding this to your packages pubspec.yaml:

    dependencies:
    flutter_unity_widget: ^0.1.6+5

    Now inside your Dart code you can import it.

    import 'package:flutter_unity_widget/flutter_unity_widget.dart';

    subjectdenied
    @subjectdenied
    hello, can anyone help me plz! i can't build my app for release with cause in when building the plugin, it tells me at "#include <UnityFramework/UnityFramework.h>" that the header-file is missing. this happens only when trying to build for release/archive but not when doing a debug-build. this tbh is pretty urgent, cause i need to get the app to the store for a client. i'm not the only one, as there are some github issues of people having the same issue! thanks in advance
    Matt Willett
    @willett-developer
    Hey Gang! Love this plugin and would like to help contribute. I'm currently working on a project that requires Unity to send messages to Flutter. Looks like this still isn't supported? Is there any progress being made on this? Did you run into challenges to start with that prevented it from being implemented? I'm finding information on passing messages from Unity to Xcode which gives me a glimmer of hope :-)
    Jairo Olaya
    @Jairolaya12x_gitlab
    hi!
    when I try to compile to android get this error
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Could not determine the dependencies of task ':flutter_unity_widget:generateDebugRFile'.
    > Could not resolve all task dependencies for configuration ':flutter_unity_widget:debugRuntimeClasspath'.
       > Could not find :ARPresto:.
         Required by:
             project :flutter_unity_widget > project :UnityExport
       > Could not find :UnityARCore:.
         Required by:
             project :flutter_unity_widget > project :UnityExport
       > Could not find :arcore_client:.
         Required by:
             project :flutter_unity_widget > project :UnityExport
       > Could not find :unityandroidpermissions:.
         Required by:
             project :flutter_unity_widget > project :UnityExport
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    
    * Get more help at https://help.gradle.org
    
    BUILD FAILED in 2s
    Gradle task assembleDebug failed with exit code 1
    Jairo Olaya
    @Jairolaya12x_gitlab
    Screen Shot 2020-01-23 at 10.57.38 AM.png
    and yes create all the modules like the documentation with android studio and the modules
    please can anyone help me?
    Thanks!
    Justin McCombs
    @laravelian
    @Jairolaya12x_gitlab check my answer on the issue thread
    Got past that error but now getting
    * What went wrong:
    Could not determine the dependencies of task ':flutter_unity_widget:compileDebugRenderscript'.
    > Could not resolve all task dependencies for configuration ':flutter_unity_widget:debugCompileClasspath'.
       > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36.
         Required by:
             project :flutter_unity_widget
          > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36.
             > Could not get resource 'http://download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36/flutter_embedding_debug-1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36.pom'.
                > Could not HEAD 'http://download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36/flutter_embedding_debug-1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36.pom'.
                   > download.flutter.io:80 failed to respond
          > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36.
             > Could not get resource 'http://download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36/flutter_embedding_debug-1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36.pom'.
                > Could not HEAD 'http://download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36/flutter_embedding_debug-1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36.pom'.
                   > download.flutter.io:80 failed to respond
          > Could not resolve io.flutter:flutter_embedding_debug:1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36.
             > Could not get resource 'http://download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36/flutter_embedding_debug-1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36.pom'.
                > Could not HEAD 'http://download.flutter.io/io/flutter/flutter_embedding_debug/1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36/flutter_embedding_debug-1.0.0-79f898e61d9ca8fc7dbcf15378c5299993dcfd36.pom'.
                   > download.flutter.io:80 failed to respond
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    * Get more help at https://help.gradle.org
    BUILD FAILED in 17s
    Finished with error: Gradle task assembleDebug failed with exit code 1
    Michael Pfaff
    @mpfaff
    I'm trying to use the UnityMessageManager and after adding JsonDotNet, am getting this error in the Unity console:
    PrecompiledAssemblyException: Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included for the current platform. Only one assembly with the same name is allowed per platform. Assembly paths: Assets/Scripts/JsonDotNet/Assemblies/Standalone/Newtonsoft.Json.dll, Assets/Scripts/JsonDotNet/Assemblies/Windows/Newtonsoft.Json.dll, Assets/Scripts/JsonDotNet/Assemblies/AOT/Newtonsoft.Json.dll
    UnityEditor.Scripting.ScriptCompilation.EditorBuildRules.CreateTargetAssemblies (System.Collections.Generic.IEnumerable`1[T] customScriptAssemblies, System.Collections.Generic.IEnumerable`1[T] precompiledAssemblies) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorBuildRules.cs:275)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilation.UpdateCustomTargetAssemblies (System.Boolean forceUpdateAssetMetadata) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:834)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilation.SetAllCustomScriptAssemblyJsonContents (System.String[] paths, System.String[] contents, System.String[] guids) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:1167)
    UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface.SetAllCustomScriptAssemblyJsonContents (System.String[] allAssemblyJsonPaths, System.String[] allAssemblyJsonContents, System.String[] guids) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Scripting/ScriptCompilation/EditorCompilationInterface.cs:253)
    Gokul DAS
    @GokulDAS027_twitter
    Hi, I'm having build errors, I couldn't find where it is going wrong..
    I made an issue with more details.
    snowballdigital/flutter-unity-view-widget#101
    Matt Willett
    @willett-developer
    @juicycleff looks like this is turning into an issues list instead of development discussions. To get things back on track, in reference to my previous post about unity to iOS messaging. I saw the challenge; having unity be installed as a framework to iOS create a circular pattern when trying to bubble up communication. How I got around this was to setup my own messages hub using SQLite. Unity sets a message, flutter listens for it, and away we go. So far it’s been solid and may be worth looking into for all communication for consistency sake. Wrapping your current APIs around it doesn’t seem to tricky (haven’t dug much into that though).
    subjectdenied
    @subjectdenied
    well one thing for issues to be resolved, would be for devs to stop radio-silence and simply fix stuff, do a better explaining about how things need to be compiled in ios/android, or not to tell to people "it just works", as one could assume when looking at the readme at the github page. i see this pattern all to often now, something nice gets released, gets mentioned on hackernews, medium, dev.to, google-flutter-conference, <you name it> - has its famous 15 minutes, people jump to it, trying to use it, and then have all kinds of problems, because the amount of work to be done, when using it, was not mentioned inside the blog-article, where everything was "sold" as easy and doable within minutes ... sry for the rant here, but getting this to work coming from flutter (which itself is pretending to be way less timeconsuming than it actually is, especially when dealing with platform specific stuff) basically, made me look into ios/pods and android/gradle way more deeper than i would ever have imagined, and cost me at least the time i needed to code the app itself. while having a deep understanding of ios/android building-chain is for sure no bad thing at all, i just didnt expect this when using this project
    Matt Willett
    @willett-developer
    @subjectdenied I agree with your points. I came to this pod after abandoning another for being radio silent. As a dev, I’m more than willing to help out (hence my first post), but need some input from them. It’s a good plugin once it’s up and running, but I agree on the challenges. Took me about 3 days to get working on Android and have concerns about doing any type of upgrade.
    subjectdenied
    @subjectdenied
    @willett-developer : well i tried already to help others in the github issues, but i can only do soo much, and i don't feel like spending time for this project, if it turns out to be unmaintened later (and all signs point to this at the moment). i think it is amazing, as currently it is the only way to get 3d-graphics combined with flutter, but it simply is not stable enough to be recommanded anywhere, unless "experimental" would be written all over it bold letters. tbh, i think google should take this over, and at least put it as one of their "official" plugins. another way could be creating something similar to embed the godot-engine (which would be opensource and seems to show quite some progress, and godot-devs would probably help to get such plugin done for flutter)
    Mat Wright
    @matwright

    Hi, I've installed the comonent today. Great job! However, I'm having a problem with the build in Android Studio. I was wondering if anyone has had the same issue. I'm using an ARCore Unity project. So, as per the predictions in the docs, some of the lib .so files were not exported across from Unity. I followed the docs instructions and unzipped an APK to manually copy them across. Now I have the following build error(s):

    Execution failed for task ':app:mergeDebugNativeLibs'.

    A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    More than one file was found with OS independent path 'lib/armeabi-v7a/libarcore_sdk_jni.so'

    Any thoughts?

    Vikrant Fernandes
    @badrobot15
    Hi. I am new to Unity. I want to load a character and a set of actions for that character (animation trigger scripts and animations) from a url based on users selection. How can I achieve that?
    MichealReed
    @MichealReed
    @juicycleff do you know if the way this library handles the subview could cause issues with the main layout? I only have an issue on iOS devices with a notch.
    jackn
    @jacknaish

    Hello. Has anyone come across this error before? After following the readme installation steps to the letter I can't seem to solve it.

    'C:\src\flutter.pub-cache\hosted\pub.dartlang.org\flutter_unity_widget-0.1.6+5\android\src\main\java\com\rexraphael\flutterunitywidget\UnityView.java:13: error: can
    not find symbol
    private UnityPlayer view;
    ^
    symbol: class UnityPlayer
    location: class UnityView
    '

    Kingtous
    @Kingtous
    Hello. I'm facing an issue about the Unity Widget in PageView.

    I/Adreno (20273): DequeueBuffer: dequeueBuffer failed
    D/ (20273): PlayerBase::stop() from IPlayer
    D/AudioTrack(20273): stop(sessionID=89)
    D/AudioTrack(20273): stop(31): called with 748992 frames delivered
    D/AudioTrack(20273): stop(sessionID=89)
    D/AudioTrack(20273): ~AudioTrack(sessionID=89)
    D/AudioTrack(20273): stop(sessionID=89)
    I/Process (20273): Sending signal. PID: 20273 SIG: 9

    I've placed the Flutter Unity Widget in Page 0. And when I jumpTo Page 2, the app exits with the message above. Does anyone has the solution about that ?