Comments (7)
@maxxfrazer Hi, When I say animations I mean the animations in a rcProject, I will send this problem to Apple. My rcProject is 180MB... Thanks very much for your reply!
from multipeerhelper.
I did more test and found that this crash only happens when rcProject activities have an animation. If an activity only does hide and appear (without any animations), all things work fine. But if it contains scale, rotate or other animations, this crash will happen. Do you have any ideas? I think it's a bug in RealityComposer but I am not sure...
from multipeerhelper.
Hi @xinnai, I'm glad you like this repo!
I don't know what this issue could be, but there are several similar issues on stackoverflow that may help you such as this one potentially?
https://stackoverflow.com/questions/45812121/notificationcenter-bad-access-when-notification-postet
Is that post
function something you've created or does that come straight from the rcProject?
BTW when sending data; I find it simpler to just use JSONEncoder and JSONDecoder, it can be clearer when debugging than bringing it in as an NSDictionary. See here for an example:
https://medium.com/swift-india/use-of-codable-with-jsonencoder-and-jsondecoder-in-swift-4-71c3637a6c65
from multipeerhelper.
That post function comes from the rcProject file so I've no idea, maybe this bug will be fixed by apple some day.
That's really kind of you to tell me about JSONEncoder and I will improve my code immediately.
BTW I found your code has memory issue and will crash when connectting a big rcProject. I think this because of the high frequency synchronization make a rapid increase of memory. I don't think it's your code's problem but I think I could let you know, thanks again!
from multipeerhelper.
@xinnai that's interesting about the memory issue, how big is your rcProject?
Without knowing much about the specific problem, could it be that both users are creating the entire scene and then sending it to each other over synchronization? I've had problems syncing USDZ files over the network and have opened a FB request to Apple. If you can replicate your issue they might help you out by responding to FB, they seem pretty good at responding to RealityKit feedback so far.
from multipeerhelper.
@xinnai looks like RealityKit animations work fine, I added one to the example project on the branch dev
from multipeerhelper.
I'm going to close this because it seems like it's most likely a RK issue, not an issue with this framework
from multipeerhelper.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multipeerhelper.