Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unity .meta files missing in repo #4

Closed
Xriuk opened this issue Jan 24, 2022 · 18 comments
Closed

Unity .meta files missing in repo #4

Xriuk opened this issue Jan 24, 2022 · 18 comments

Comments

@Xriuk
Copy link

Xriuk commented Jan 24, 2022

The Unitys .meta files are missing for this repository, this invalidates the created prefabs as Unity loses track of the referenced scripts.
Unity .meta files should be stored in version control.

@AdrianBravent
Copy link

Yeah, any idea of the prefab scripts?

@PablOnk
Copy link

PablOnk commented Apr 11, 2022

Package folder doesn´t exists. Please help

@ABinettiCap
Copy link

Same issues ... QRCodeManager prefab and Axis prefab are missing.

@cheles
Copy link
Member

cheles commented May 12, 2022

@ABinettiCap they do exists under Prefabs folder. there seems to be a mismatch between guids. we will check this further. In Unity, you can just drag&drop those 2 from Prefabs folder to Hierarchy column

@Xriuk
Copy link
Author

Xriuk commented May 12, 2022

@ABinettiCap they do exists under Prefabs folder. there seems to be a mismatch between guids. we will check this further. In Unity, you can just drag&drop those 2 from Prefabs folder to Hierarchy column

You don't understand, if in Unity you delete the .meta files, Unity loses all the references between components, invalidating every prefab, that's why they show missing components on them, making them unusable. Of course you could build the prefabs back with the scripts, but that's not the point...

@KiriUbu
Copy link

KiriUbu commented May 21, 2022

i have a simular Problem. All the references to the scripts are also gone. Could may be some just tell me with scripts should be connected to witch Prefab?

Screenshot 2022-05-21 150235

@cheles
Copy link
Member

cheles commented Jun 2, 2022

you are right @Xriuk @KiriUbu. we are working on fixing this. meanwhile, QRCodesManager should look like this:
image

@FireDragonGameStudio
Copy link

Same problem here, where all prefabs and script references are broken. :/

@cheles
Copy link
Member

cheles commented Jun 22, 2022

@FireDragonGameStudio we are working on this. meanwhile, you can remove those 2 prefabs and re-add them to the project. QRCodesManager scripts should look like above screenshot.

@FireDragonGameStudio
Copy link

Thx, will try it. Unfortunately the materials and QRCode prefab are broken as well. I'll try to figure it out, while waiting for the fix from your side :)

@cheles
Copy link
Member

cheles commented Jun 22, 2022

or you can clone this repo and work with it until this one is fixed

@petergu684
Copy link

This could be easily solved by deleting the .gitignore file in the root, which doesn't seem to do anything other than adding .meta into ignore list.

@SashelI
Copy link

SashelI commented Aug 19, 2022

you are right @Xriuk @KiriUbu. we are working on fixing this. meanwhile, QRCodesManager should look like this: image

Hi, Could you provide the scripts that must be on the "QRCode" prefab aswell ? thanks

@cheles
Copy link
Member

cheles commented Aug 19, 2022

image
meanwhile, you can use https://github.com/chgatla-microsoft/QRTracking sample built with MRTK 2.5 and Unity 2020 / Built-in XR or https://github.com/yl-msft/QRTracking on OpenXR / Unity 2020

we will update this sample to MRTK 2.8 and Unity 2020. can't upgrade further than 2021 as Built-in XR was deprecated for OpenXR.

@SashelI
Copy link

SashelI commented Aug 19, 2022

Thanks !

@Heavenswind
Copy link

has this been updated to Unity 2021? what is the latest versions of Unity + XR and MRTK we can use ?

@cheles
Copy link
Member

cheles commented Aug 30, 2022

has this been updated to Unity 2021? what is the latest versions of Unity + XR and MRTK we can use ?

answered 2 comments before

@chgatla-microsoft
Copy link
Contributor

project updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests