Need to insert models
Set scene
Make prefabs and then scale correctly
Fly Sounds: https://quicksounds.com/library/sounds/fly
Process:
Black Screen Issue
After following the wattle tutorial on how to set up the ARCore I tried to build my scene however it would just come up with a black screen after playing the Unity logo sequence
I knew it was somewhat working due to the sound I had playing however nothing was showing
So I looked online to see if other people were having the same issues as I and found that this was very common for Android devices. If I wasn’t able to find a solution I was going to just make mine for ARKit and ask my partner to borrow their iphone.
However, after some research into manuals, forums, YouTube videos and chat rooms I found that all I needed to do was check one box.
After I had done this, it started showing the camera and plane detection however the scene I had created was nowhere to be found—though the sounds were still audible.
Scene Was nowhere to be found
So I thought maybe there was something wrong with how it was loading the scene so I decided to use Raycasting so that hopefully it would play
It does have the scene “plays”, as signified by the audio, however, nothing else shows up
I have tried changing to scale but it still doesn’t appear to be visible
Tried with just a cude to see if all the coding side of things was working and it does just something is wrong with the actual scene I created. I’m going to try shrinking it down to see if that helps and possibly moving things closer.
I’ve set everything to be zero so that it should appear right where the user clicks the screen, hopefully this works
It didn’t work, same issues as before it knows its being placed and placed again because of the overlapping audio sounds but none of the objects can be seen
Nothing on the internet seems to be having the same issues
I’ve tried giving the the Artwork prefab a tag to see if that helps though I’m not sure I will be able to get the Build to work on my phone
Loading Distance
My partner saw the thing and thought it was odd that the scene needed to be so close for the camera to see the scene
They suggested making the field of depth larger so that the scene could be seen
It works… well sort of
Spawning scene
The scene can now spawn it just is too close to the camera to be able to see the whole scene
It also sticks to the phone so you can’t walk away from it to see the full scene
Tested with a cube to see if it was the objects I downloaded and the cube worked fine
Tried multiple tests looking at different aspects of the scene to see if they are the reason it is stuck
Tested both the easel and the rubbish → both stuck to one location
Where to go from here
Unsure
I’m not entirely sure how to fix this issue
I have looked up multiple different search quotes but nothing seems to be what I need
https://github.com/Unity-Technologies/arfoundation-samples/issues/192
Similar issue however no response on how to fix or manage it
https://stackoverflow.com/questions/52226780/ar-object-is-moving-with-the-camera-in-unity
Another chat room with similar issues of object sticking to camera/not staying where the person intended
I’m going to try to put the Artwork Prefab into the scene with the improved camera depth of field and deleting the spawnmanager, hopefully this works as just a still that can be walked around (original intent)
Though if this work, I plan to make some trash as spawnable objects to make the piece more interactive and let the user experience the continuous build up of trash/letting life go by that occurs when hyper fixating on “good” things
Current Number of Builds: 26
26 tests to see if these small changes help with different problems
Helpful websites:
Comentários