Unity and vuforia can't get 3D character to spawn [closed] - unity3d

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 4 years ago.
Improve this question
I'm trying to get Unity and Vuforia to work together with spawning a 3D object on a targeted AR image. I try it thru my webcam and everything is settled. When I put my AR target image in front of the camera, a 3D object is supposed to spawn in the camera. In tutorials and forums everyone talks about checking two things in the ARcam inspector called: Load databasename and another called Activate.
The problem is that I'm stuck in is that an update took these choices away from the program. And I guess it is replaced with something else somewhere in Unity. The part where I want to load the 3D object when I cam the targeted image. So my question is: Is there anyone out there who work with this and know how do I activate the function? Cause I can't find anything in forums or elsewhere. Could be that the update is rather new, but every tutorial is based on the previous version of Unity.
Also, when I check the console log, it reacts to the target image and when I move it away it says "lost" so I know that part works. But as I said before, nothing spawns on it. And I followed a tutorial where it works in the previous version of Unity, therefore I don't think there is any problems with sizes of the target or the 3D object.

I am ashamed, I forgot to put the picture as a child under the camera. Thank you for all the comments.

Related

How to keep AdColony with Proguard in Unity? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I'm using Proguard and R8 minify on my Unity Game in order to handle Admob Mediation. I integrated AdColony into the game, but during runtime on device it seems that AdColony is removed in the cleanup before the APK is made.
I am unsure what keep line I need to add to my proguard-user file in order to make AdColony work.
Does anyone know?
For example, the following example is from a line which is supposed to set GDPR settings for AdColony:
2020/12/17 17:05:02.861 9593 9661 Error Unity AndroidJavaException: java.lang.NoSuchMethodError: no non-static method with name='setGDPRRequired' signature='(Z)Ljava/lang/Object;' in class Ljava.lang.Object;
Thanks in advance!
I managed to find the answer myself, so first I'll say what needed to be added, and then how I figured out what to add.
The fix for me was to add the following line to my proguard-user.txt file:
-keep class com.adcolony.sdk.** { *; }
From what I saw, in my Unity project under Assets/Plugins/Android, I had a bunch of packages, one of them named com.adcolony.sdk-4.3.0. Because the naming convention seemed to match the files which usually appear in the proguard file, I tried adding the aforementioned keep line to my file, and it worked!
I will say that I know almost nothing when it comes to proguard. If this was a mere coincidence and the file I kept using that command for not coming from the package I found in the Android directory, please comment down below so I and whoever discovers this in the future will be better informed.

Live SASS Compiler in VSCode is not working? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Anyone have an idea why live sass compiler extension on vs code is not working?
I did try to reinstall extension and to edit path saving settings and even to reinstall vs code but nothing.
The problem is that it worked for a short period of time and just stopped, like it is some bug or something because it is constantly showing 'working on it..' but nothing is happening. Is there some issue with extension or it could be up to myself?
Please if someone have an idea what could cause this problem, I will appreciate answer.
thank you.
You more than likely have invalid syntax somewhere in your scss.
I once had the same issue that was caused by an empty property.
Empty properties such as background-image: linear-gradient(), url(); will hault the compiler which will therefore not continue watching your scss, thus the eternal "working on it..".
I had the same issue so I went through my SASS code and realized I had added a media query that was empty. I recommend you go through the whole source making sure you have all ';' and values added. If you think it could be a line, try deleting or commenting out and running it again!
You probably have installed some other extension that is disabling SASS from running as it should. Trying uninstalling other text/styling extensions.

Does the file name affect antivirus false positives [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I am appending my installer name with the version number, as in "progname_setup_1.1.5678.9101.exe". I like it because it makes it easy for me to track and for the user to identify it from prior downloads. This is an Inno Setup build of .net. And it is signed (if that matters).
That means the file name will change with each update. Will this practice increase the chances of false positive flags by antivirus software. If I kept the same file name (e.g., progname_setup.exe), perhaps the file would get a chance to build a reputation, even though version numbers would change inside. Or maybe antivirus doesn't work like that at all.
So, what is the best approach for file naming regarding antivirus: progname_setup_1.1.5678.9101.exe, progname_setup.exe, or it doesn't matter?
I really can't speak for "all" anti virus engines but the good ones really don't use the file name as an indicator of anything because it's just too unreliable. Think about it, if an AV definition file said, "FOO.EXE == Malicious Virus" all the malware writer would have to do is constantly change the file name.
AV engines, at least the good ones, work by looking for bit patterns inside the body of the file; usually specific bit patterns that can exist anywhere in the file. Now, you don't have to take my word for it, check out the CLAMAv signature database docs and you will see that "file name" or any other file metadata (like size, perms, etc) are not even something you can specify in a signature.
https://github.com/vrtadmin/clamav-devel/blob/master/docs/signatures.pdf
You can also run your samples via scanii's web scanning tool https://scanii.com/free-virus-scan/ if you would like to be certain that they should not trigger a false positive - disclaimer scanii is my pet project.

Time it takes IOS to delete an application [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I was wondering if there is anything a programmer can do to speed up the time it takes IOS to delete the app. I am actually referring to the time it takes from pressing the "x" delete button and the time the dialogue appears. My guess is, this is when the OS does some calculations on the file sizes of the app and the total number files stored in the app bundle might influence the delete process, but I want to be sure this is the case. I couldn't find any reference on that.
Thanks!
My guess is, this is when the OS does some calculations on the file sizes of the app and the total number files stored in the app bundle might influence the delete process
There is a simple test you can make to verify that whether this hypothesis is correct.
Long press on an app icon; when the "x" appears, tap on it; wait until the dialog appears;
go to another app and do the same;
go to another app and do the same;
...
To make the test more "cogent" you could choose an app at step 2/3/... that you know stores many files locally and has a large number of files.
In my case, I have seen that the first time it takes a noticeable time for the dialog to appear; successively, the dialog will appear almost immediately.
So, I do not think it depends, on the app; rather on the state of the device, the need to release some memory, load some code, etc... Once done, this is fast, until released once again.
So, sadly, I don't think there is anything a developer can do to reduce the time between tapping on the "x" and the appearance of the dialog.

What are the most common virus file types currently circulating? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am working on a project that will involve file upload to a server. I am interested in understanding what kinds of files virus writers currently tend to target. I am aware of the following threads:
How would you programmatically test a file for viruses ?
ensuring uploaded files are safe
How can I determine a file’s true extension/type programatically?
Server side virus scanning
But am interested in general in finding out about common attack vectors.
All of them. There aren't any "safe" file types when a JPG image can infect you with a virus and you can even trick the browser to execute JavaScript in any file no matter its declared type.
But the biggest and most widespread danger doesn't even involve uploaded files - ANY text that is entered by users and displayed on your page is a potential vector of Cross-Site-Scripting attacks.
I ran an "upload file" form for a little while and a few things I found:
All sorts of PHP scripts (shells, redirects, various "owned by $LAMER", you name it)
I think I had a few browser exploits (.html, .jpgs)
A bunch of files with the wrong extensions (ie, PHP scripts with the extension .rar, hoping that the server's mime-type guesser did the wrong thing)
Zip files full of all of the above
Anyway, those are just a few things I found. Hope they are helpful.
.exe and .scr are most common filetypes. Also, there are "tricks" with double extensions like readme.txt.scr or readme.doc.exe
exe is probably the most common