#Issue with ShareRecording API – Subject and Title Fields Not Applying

1 messages · Page 1 of 1 (latest)

ember python
#

Hello,

I’m encountering an issue with the ReplayKit asset when using the ShareRecording API. While sharing video files works correctly, the subject and title fields are not being included in the shared output, regardless of the input values provided.

Steps to Reproduce:

Call ShareRecording with valid parameters.

Set the subject and title parameters.

Complete the sharing process.

Expected Result:
The shared video should include the specified subject and title.

Actual Result:
The video is shared successfully, but the subject and title fields are omitted.

Could you please investigate this issue and provide guidance on a potential fix? Let me know if you need further details.

Thank you for your assistance!

Edit: After digging the library seems never used those values ?

untold hemlock
#

Yes, you are right. Plugin currently doesn't include the values passed and reserved for future impl.

ember python
#

Hello, thank you for the quick response.

However, I find this a bit misleading for a paid asset. I reviewed the API documentation before purchasing the plugin from the Asset Store and believed it would cover all of my needs based on that information.

While I'm fine with sharing implementation details, I do believe that a paid asset should provide the functionality it advertises more clearly.

Looking forward to your clarification or an update regarding this.

Best regards

untold hemlock
#

I totally accept the expectation. It makes sense. Let me have a quick look to see if anything is pending to finish this.

#

Hey! I spoke too early 😄
Anyways, I just checked the latest implementation which is available on store and looks like you are not updated to latest.

#

This was a feature I postponed as there was no priority, but I just noticed I finished it in last major release.

#

If you face an issue, please do let me know.

ember python
#

Even though I’m using the latest version, the feature still doesn’t work. Could you elaborate further or provide guidance on how to resolve this issue?

Additionally, if there are any specific steps or configurations I might have missed, please let me know. I’d appreciate your help in getting this resolved as soon as possible.

Looking forward to your reply.

Best regards

untold hemlock
#

Which platform are you currently testing?

ember python
#

I'm testing under iOS

untold hemlock
#

Ok, I will update you by tomorrow with a fix if it has an issue.

untold hemlock
#

Hi
I fixed the issue on iOS and submitting the update today.

ember python
#

@untold hemlock hi there, Cannot build 2.4.0 for iOS even new project with the provided "screen recording example" build fails.

untold hemlock
#

We submitted a fix for this.
this happened as asset store automatically changes the permisison of the shell script from 755 to 644 leading to the issue.
We fixed it in 2.4.1

Meanwhile, you can update this file in Assets/Plugins/VoxelBusters/CoreLibrary/Editor/NativePlugins/BuildPipeline/Xcode

ember python
#

Awesome thanks you.

ember python
#

Informing that this did not resolve the issue. Still getting build error same as before.

untold hemlock
#

Can we have a quick remote session to look into?

ember python
#

I’m not able to establish any remote connection through this computer, and I’m really sorry about that. However, I can share with you the project I created in an empty Unity project and the Xcode output.

untold hemlock
#

Ok, no worries.
I need one detail so that I can see where the issue could be.

  1. Please click on UnityFramework target in xcode project and navigate to build phases.
  2. Over there you will see "Copy VBCoreLibrary framework".
  3. Can you please paste the contents of it here?
ember python
#

During build phase :


Showing All Messages
/Users/xxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-gcjonbxdeywrozaeihojuheimazq/Build/Intermediates.noindex/VBCoreLibrary.build/Release-
iphoneos/VBCoreLibrary.build/Script-8D369A3A2DA85379000A26D4.sh: line 5: ./VoxelBusters/copy_framework_as_dependency.sh: No such file or directory

untold hemlock
#

ok, please delete once the "Copy VBCoreLibrary.framework" entry above it.

#

Mostly that has old code.
It will have contents without that /bin/bash leading to the issue.

ember python
#

No luck, it still gives an error, probably I got that duplication as you said I rebuild on top of the old project, after building in a new folder it looks like that, and it still gives same error ;

untold hemlock
#

Ok, please share the sample project to try out on my end

ember python
#

sure gimme second

untold hemlock
#

I'm on it.

#

I see the vbcorelibrary xcode sub project is more like a symbolic link in the project you shared. Checking what could be wrong.

#

Do you see any errors in unity console once after exporting the project?

untold hemlock
#

Do you copy the folder of exported xcode project to another folder or system?

ember python
#

Hello 👋

I’m not seeing any build errors during the export process in Unity (version 6.6000.0.39f1).

I probably moved the entire folder from the Build directory to my Desktop before zipping it — I assumed that wouldn’t make a difference. Just in case, I also tried building it directly with Xcode from the exported folder, but still no luck.

If there’s any additional information you need, I’d be happy to provide it!

Thanks in advance

untold hemlock
#

I think I got the issue. I'm working on the issue.
Do you have unity project in mac or windows?

ember python
#

I have the Unity project in mac, if you need it, I can share it as well.

#

it's actually an Empty project then I only added the Replay Kit plugin via Package Manager as well as newtonsfot.json since Core Library depends it to that package as well.

#

just like that

untold hemlock
#

I made the patch. If you can try it it would be great.

ember python
#

yeah I would like to give it a try

untold hemlock
#

Pls just import it in your existing project and try running

ember python
#

Sorry it didn't work, still getting same error

#

I exported the XCode project in a new folder after patch.

#

just for the confirmation, I try to re import the patch, as expected Unity says that already imported;

untold hemlock
#

Thats strange as I have changes in the patch.

ember python
#

yeah sorry for confussion. When I first time imported all the content update

untold hemlock
#

I exported the XCode project in a new folder after patch.
Now it should copy the complete sub projects correctly.

untold hemlock
ember python
#

yep

#

just to be sure , I patched it correctly Second time it didn't import anything

#

so My project is patched for sure

untold hemlock
#

Can you pls pass me the exported xcode project now?

ember python
#

sure I can let me upload it.

untold hemlock
#

Sorry, I see all tests passed on my end w.r.t to the issue. so wondering what else could be wrong.

ember python
#

No worries man. I know what you're deailng with it 🙂

untold hemlock
#

Hey!
I was able to build it successfully :?

untold hemlock
ember python
#

that's weird let me check it again, maybe pods cache failed on my side.

untold hemlock
#

there are no pods in the project shared right?

ember python
#

yup I mean build folder;
Showing All Messages /Users/xxx/Library/Developer/Xcode/DerivedData/Unity-iPhone-dryyjoitdhufatbxmbjtozmiqlkh/Build/Intermediates.noindex/VBCoreLibrary.build/Release-iphoneos/VBCoreLibrary.build/Script-8D369A3A2DA85379000A26D4.sh: line 12: /VoxelBusters/copy_framework_as_dependency.sh: No such file or directory

#

rm -rf ~/Library/Developer/Xcode/DerivedData/

#

I've clean all build folder before hand as well

#

well it says line 12 now 🙂 it was 5 before.

#

definetely something changed there.

untold hemlock
#

Is this in the workspace project you have with pods or the project your shared me earlier?

ember python
#

it's the project I sahed before, forget pods, I misspoke I meant was build folder

#

well I can try tih patch on the main project as well if you're able to build maybe something wrong on my side, I will chekc if the CI machine gives the same error as well.

untold hemlock
#

Ok, I see the file exists /VoxelBusters/copy_framework_as_dependency.sh in the shared project.
Let me retry to reproduce it.

ember python
#

👍

#

I'll be afk like an hour so brb.

untold hemlock
#

Ok sure!

#

Thanks for your time!

#

I tried in our AdsKit project which has lots of pods. I see it successful over there too. Will keep trying to reproduce.

#

In section 5 - pls check what WORKSPACE_DIR value is.

#

I'm around. Once you are back, pls let me know.