I've already posted in PlayMaker forum, but I'm not getting any responses. Hoping someone that had the same problem here would see and shed some light.
I am reviving an old project. It's been left untouched for 5 years. So the Unity version is still in 5.2.1f1 and PlayMaker version 1.7.8.3p2
My problem is I cannot open a Custom Action Script. It is showing Couldn't find Action Script in the error. The script won't show if searched in project folders.
The game runs though, and the other PlayMaker preset ActionScripts I can access.
Wondering if I am missing something? Please see the screenshot below. Thank you
see screenshot here
I now have an answer. All the actions were kept inside a single script. Therefore, cannot be searched in the project view. I found it by guessing, but it would be obvious to find it by making a deep file browser search.
Related
I really need some help. I was rearranging file locations and trying to clear up some space and somehow broke the ability for Unity to operate on my laptop. The pictures of the errors are below.
This all started when I was moving a completely functional unity project from an external SSD to my internal laptop SSD. I had to clear space for the size of the project and I must have deleted something important, but I have no clue how to tell what it is.
Error seen when opening project
Editor view after opening
Error when trying to attach a script to a GameObject
Error in editor log
Steps I've taken:
I've restarted my computer several times.
I've completely uninstalled all editor versions and the unity hub (twice), including deleting all local app data for unity, emptying the temp bin, and clearing the keys in the registry.
I've started completely new projects, checked
old ones that used to work, downloaded sample ones from unity learn
just to make doubly sure that it's not me being dumb.
My current theory is that this has to do with me clearing some data from a National Instruments folder. I'm new to programming and just read online that these drivers are needed for .NET communication, but would this be why Unity keeps failing then?
This has all taken more than a few hours and I'm struggling to fix this if anyone has any suggestions, please. I'd really appreciate any insight.
Update: I'm able to make new scripts, objects, scenes, etc. but I can't attach any script components to game objects because "the script class can't be found"
Update #2: Checking the Editor logs shows that the Tundra build is failing, and the "93 items updated" matches the 93 errors that are shown. No idea what Tundra is, but that's something to look at now!
Update #3: fairly more certain it's something to do with the .NET interactions, but I'm completely unknowledgeable about this and worried about breaking this further
Answering my own question in case another person finds this and has the same issue, but the problem wasn't .net related or anything I mentioned. I uninstalled anaconda which caused some issues with the Command Prompt, where it would close immediately after opening. Unity uses this for a number of processes, so that's what caused all the blank errors.
The solution is to delete the Microsoft Command Processor AutoRun key in the registry editor.
https://forum.unity.com/threads/unity-empty-errors-on-every-project-unity-2021-3-2f1.1279124/
Cmd crashes with exit code 1 after uninstalling anaconda
It's been a long time since I did something in unity3d but today I opened an old project of mine to build an apk-file from a game I did about a year ago. But as soon as I had opened the project I saw that every reference in my c# scripts were set to None. I can't change them back and my project doesn't work without them. Below that there is an info box which says "Default references will only be applied in edit mode". I really don't know what to do because, like I already said, I didn't worked with unity for a year and I'm not so familiar with all the things. To show you what I mean I added a screenshot below.
It would be awesome if anyone could help me. Thanks in advance.
Screenshot from the reference section in the Inspector of a c# script in Unity3d
Usually the problem get fixed if you open your project with the same version of unity you've been working with a year ago maybe earlier. At this point the damage might already be done, but do you have a back-up for your project? You can start over with that earlier unity version, it will work if you haven't work with it since.
I am considering this only a message, or hint. Once you run the application, the references are getting assigned in the inspector automatically. They even stay when stopping the application, but not after saving or after relaunching unity. Weird behavior.
I've something really annoying happening im my code.
I've built an app in Xamarin.Forms after battling for months with the framework just to find that when I'm now done, I cannot build my app in release mode to deploy it to the Store.
The app works well in debug mode, but does not build in release mode in the UWP project. I have been struggling to find a way to build my app in release mode for 5 days. but no matter which solution I see in all the forums and the stackoverflow questions I encounter, this error won't even blink.
The error which the IDE shows when I build the app in release mode is:
Internal compiler error: Specified cast is not valid.
It does not tell me anything more than that. The IDE doesn't give me any additional error message. I have struggled for days applying solutions I find to similar to this online, but nothing works.
I have updated IDE
Updated all packages
Deleted custom renderers on the UWP project
I went through every portion of code to find where I may have made a bad cast
I tried all I could find online, but nothing works.
I usually don't ask questions on forums unless it becomes critical.
If I don't get any solution, I'll be forced to delete this project and waste the months of coding I did, and abandon Xamarin for ever and move to Flutter which has a better reputation when it comes to tooling.
First of all, please don't fume so much. We understand you are frustrated, but Caps Lock just doesn't help to make us take it more seriously. Also I know Flutter is the new "cool guy in town", but it also has its set of issues. Cross-platform development is not simple and Flutter does support only two platforms, while Xamarin.Forms have a wider reach, which is bound to bring a bit more complexity.
My first suggestion would be to change the build output more verbose in Visual Studio Options, because that could uncover the actual issue here. When it comes to release mode, the problems usually come from types which are used for reflection but the compiler does not see as used and hence throws them away. Usually these errors show up at runtime however. In your case I would suggest a few following things:
First and foremost - try to delete bin and obj folders in your project. That might help, as they sometimes get cluttered with older libraries and create conflicts.
If you have been building with a source control like Git (I hope you did), I would suggest going back to some early commits and then try to build release mode there. If the project builds, jump forward to some newer commit and try again. If it does not, try an even earlier commit. The goal of this is to pinpoint when in time was the error introduced, which should significantly help you in searching where the problem comes from.
If you didn't use any source control - first remember to do so next time. However, this time you will have to do it "the old way". Create a new project and slowly as little code from the original project, trying to do release build at each step. Hopefully this will allow you to find the culprit code and then you will be able to fix it in the original project
You can definitely post your findings here and we will be happy to help you further - like pinpointing the actual problem in the code file once you narrow it down.
I suspect your problem is coming from auto-generated XAML, so definitely make sure to focus on the .xaml files adding them one by one.
I am developing an ASP.NET MVC 5 application for a while now.
After an update that changed a lot the database structure, the UI has gone crazy. I think this is a IIS issue since it is only on the client's machine and I am not able to replicate it, but I don't know where to start looking for it.
I have tried to restart everything, but with no resolve.
This is going on for days and I am out of ideas.
As it can be seen in the picture, the CSS is not working correctly, the pictures are not showing and the Resource data (for switching the language) is crazy.
I don't know if the update did something or not, but it shouldn't since I changed the models and controllers only. I did delete some screens, but this shouldn't impact.
If I deploy it on a fresh machine there is no problem.
I know this question is really ambiguous, but I have looked into the cshtml files are I could't find errors and I do not know what info / code to give. I can update if someone can help.
Update:
Thank you for all your responses. Sorry for my late one. I didn't expect answers so fast. Here is how it looks on mine:
The bigger problem is that I do not have access to their server. I am working with somebody else on the phone and they send me pictures.
UPDATE 2:
It didn't work with CTRL+F5 and clearing browsing history (I didn't thought about this since it is the same on two laptops they are using to access the app). They are not allowed to install other browsers than Mozilla and Internet Explorer. They are using Mozilla by default. Opening the app in Internet Explorer improved the situation. The Resource works and the CSS is improved, but the pictures still aren't showing.
This is how it looks on IE:
They use a laptop as a server and access the app on 2 other. It is a temporary solution until a server will be bought.
I'm very confused and i was hoping to get some insight into this. I have been working on a project for a few months and everything was going great until i decided to upload the UI to TFS for a front-end dev to work on.
This is multi layered project consisting of Data, Business and UI. I have uploaded many projects before but never had this issue. I have taken a screen capture to help explain the problem. As it's my first time running into this issue, I'm not sure how to explain.
Any help on this would be great, thank you in advanced.
Check your check in files, looks like the build templates have been accidentally included.